summaryrefslogtreecommitdiffstats
path: root/luni/src/main/native/java_net_InetAddress.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2009-09-15 17:02:16 -0700
committerElliott Hughes <enh@google.com>2009-09-15 17:02:16 -0700
commiteb6b2b61f6ae5f42fa3d147e30a953296ebdf870 (patch)
tree77b84167ebc4ae1211f98c8ae33e9f3ef9f897be /luni/src/main/native/java_net_InetAddress.cpp
parent2564a911708acb90dfb9ecbff93ac560da01117a (diff)
downloadlibcore-eb6b2b61f6ae5f42fa3d147e30a953296ebdf870.zip
libcore-eb6b2b61f6ae5f42fa3d147e30a953296ebdf870.tar.gz
libcore-eb6b2b61f6ae5f42fa3d147e30a953296ebdf870.tar.bz2
Make Resources$DefaultTimeZones preloadable again.
http://s9/81864 was a premature optimization that stopped the timezone data being loaded in the zygote. So instead of paying the (admittedly large) time and space costs once in the zygote, we now pay them once per application. Revert the problematic parts of that change. Note that this isn't simply a reverse patch: 1. I've changed the comment to make it clear that although this *looks* like idiomatic lazy initialization, it's actually the opposite. A comment to that effect might have prevented this code from being broken. 2. I've left the last two hunks of the original patch stand, because they appear reasonable but unrelated. Bug: 1941311, 1819285.
Diffstat (limited to 'luni/src/main/native/java_net_InetAddress.cpp')
0 files changed, 0 insertions, 0 deletions