-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 21
-
Component/s: hotspot
Replay compilation currently relies on the fact that the vmentry field of a LambdaForm (which is in turn a field of MethodHandle) does not change.
However, it can change in practice. This can be exacerbated by running with the flag: -Djava.lang.invoke.MethodHandle.COMPILE_THRESHOLD=1
When running compiler/ciReplay tests with that flag, the following tests fail:
compiler/ciReplay/TestServerVM.java
compiler/ciReplay/TestLambdas.java
compiler/ciReplay/TestInlining.java
However, it can change in practice. This can be exacerbated by running with the flag: -Djava.lang.invoke.MethodHandle.COMPILE_THRESHOLD=1
When running compiler/ciReplay tests with that flag, the following tests fail:
compiler/ciReplay/TestServerVM.java
compiler/ciReplay/TestLambdas.java
compiler/ciReplay/TestInlining.java
- relates to
-
JDK-8332116 Test compiler/ciReplay/TestServerVM.java failed: Unexpected exit code for positive case
-
- Open
-
-
JDK-8340812 LambdaForm customization via MethodHandle::updateForm is not thread safe
-
- Closed
-