Request for reviews (M): 6990192: VM crashes in ciTypeFlow::get_block_for()
christian.thalinger at oracle.com
Mon Oct 18 09:25:02 PDT 2010
6990192: VM crashes in ciTypeFlow::get_block_for()
In SystemDictionary::find_method_handle_invoke when the classes of the
signature are not on the bootclasspath the method always returns the
newly created method resulting in an assert in
The fix is to set the first method coming in into the constant pool
cache. To avoid races this is done atomically.
Additionally the initialization of the invoke-method table is changed
to be eagerly since initializing it lazily contains another race.
Tested with testcase mentioned in CR.
More information about the hotspot-compiler-dev