RFR (S) 8225681: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine fails due a) MT-unsafe modification of inline cache
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Wed Sep 25 21:22:16 UTC 2019
Summary: allow old methods in CompiledStaticDirectCall::set_to_interpreted
This is the comment in the bug that describes this race and this fix:
https://bugs.openjdk.java.net/browse/JDK-8225681?focusedCommentId=14278441&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14278441
The rest of the bug and sightings are actually caused by
https://bugs.openjdk.java.net/browse/JDK-8226690,
and this one might have been caused by it also, but the race that Erik
describes is possible as well.
The s390 code had an exception for callee->is_compiled_lambda_form()
which should probably apply to all the platforms, so the code is the
same on all the platforms with this change.
Tested with tier1-6.
open webrev at http://cr.openjdk.java.net/~coleenp/2019/8225681.01/webrev
bug link https://bugs.openjdk.java.net/browse/JDK-8225681
Thanks,
Coleen
More information about the hotspot-dev
mailing list