-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
I've found it fails fails often with --enable-preview but also without (on my EnableValhalla removal branch) explicit GC flag (with optionally AOT class linking enabled) and a whole other set of flags:
-XX:+AOTClassLinking -XX:+UseZGC
-XX:+AOTClassLinking -XX:+UseG1GC
-XX:+AOTClassLinking -XX:+UseSerialGC
-XX:+AOTClassLinking -XX:+UseParallelGC
-XX:+UseCompactObjectHeaders
-Xshare:off -showversion
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: getter3 is not C2 compiled expected: 1 but was: 4
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: getter3 is not C2 compiled expected: 1 but was: 4
Happens on every platform. No replay or hs error generated.
-XX:+AOTClassLinking -XX:+UseZGC
-XX:+AOTClassLinking -XX:+UseG1GC
-XX:+AOTClassLinking -XX:+UseSerialGC
-XX:+AOTClassLinking -XX:+UseParallelGC
-XX:+UseCompactObjectHeaders
-Xshare:off -showversion
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: getter3 is not C2 compiled expected: 1 but was: 4
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: getter3 is not C2 compiled expected: 1 but was: 4
Happens on every platform. No replay or hs error generated.