RFR (S): 8026478: -XX:+VerifyAdapterSharing is broken
albert.noll at oracle.com
Tue Oct 15 04:14:23 PDT 2013
could I have reviews for this small patch?
Problem: This flag is broken. The reason is that adapters
(gen_i2c_adapter()) that are generated during VM startup do not include
the range for StubRoutines::code2() if -XX:+VerifyAdapterCalls is
specified. StubRoutines::code2() is only allocated later during startup;
consequently, code2() is NULL. As a result, the size of the generated
adapter as well as the code itself does not mactch.
Solution: Defer check (VerifyAdapterSharing) until VM is initialzied.
Note that this patch also fixes potential issues with
-XX:+VerifyAdapterCalls, which is a dignostic flag. The patch also
removes some unused field of VerifyAdapterSharing.
Many thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev