Mercurial > hg > truffle
comparison src/share/vm/runtime/init.cpp @ 2088:8d0b933dda2d
7007377: JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
Reviewed-by: kvn, jrose
author | twisti |
---|---|
date | Wed, 22 Dec 2010 02:02:53 -0800 |
parents | f95d63e2154a |
children | 7ab5f6318694 |
comparison
equal
deleted
inserted
replaced
2087:352765ed11a1 | 2088:8d0b933dda2d |
---|---|
123 return JNI_ERR; | 123 return JNI_ERR; |
124 } | 124 } |
125 javaClasses_init(); // must happen after vtable initialization | 125 javaClasses_init(); // must happen after vtable initialization |
126 stubRoutines_init2(); // note: StubRoutines need 2-phase init | 126 stubRoutines_init2(); // note: StubRoutines need 2-phase init |
127 | 127 |
128 // Generate MethodHandles adapters. | |
129 MethodHandles::generate_adapters(); | |
130 | |
131 // Although we'd like to, we can't easily do a heap verify | 128 // Although we'd like to, we can't easily do a heap verify |
132 // here because the main thread isn't yet a JavaThread, so | 129 // here because the main thread isn't yet a JavaThread, so |
133 // its TLAB may not be made parseable from the usual interfaces. | 130 // its TLAB may not be made parseable from the usual interfaces. |
134 if (VerifyBeforeGC && !UseTLAB && | 131 if (VerifyBeforeGC && !UseTLAB && |
135 Universe::heap()->total_collections() >= VerifyGCStartAt) { | 132 Universe::heap()->total_collections() >= VerifyGCStartAt) { |