Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8163494 | 9 | Dmitrij Pochepko | P5 | Resolved | Fixed | team |
the test fills code cache w/ dummy blobs and when checks if used code cache size is grater than max size multiplied by 0.95. in case of disabled SegmentedCodeCache, there is no space for adapters in code cache, so JVM emits VME on call methods.
----------System.out:(6/357)----------
CompileCommand: compileonly null.*
INFO: trying to test CodeCache of max size 251658240 and initial usage 2763776
CodeCache: size=245760Kb used=2743Kb max_used=2743Kb free=243017Kb
bounds [0x000000010ce47000, 0x000000011be47000, 0x000000011be47000]
total_blobs=1008 nmethods=143 adapters=735
compilation: disabled (not enough contiguous free space left)
----------System.err:(23/1823)----------
Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
java.lang.VirtualMachineError: Out of space in CodeCache for adapters
at java.util.Formatter$FormatSpecifier.print(java.base@9-internal/Formatter.java:3295)
at java.util.Formatter$FormatSpecifier.print(java.base@9-internal/Formatter.java:3235)
at java.util.Formatter$FormatSpecifier.printFloat(java.base@9-internal/Formatter.java:2799)
at java.util.Formatter$FormatSpecifier.print(java.base@9-internal/Formatter.java:2750)
at java.util.Formatter.format(java.base@9-internal/Formatter.java:2525)
at java.util.Formatter.format(java.base@9-internal/Formatter.java:2461)
at java.lang.String.format(java.base@9-internal/String.java:2752)
at compiler.codecache.jmx.InitialAndMaxUsageTest.runTest(InitialAndMaxUsageTest.java:105)
at compiler.codecache.jmx.InitialAndMaxUsageTest.main(InitialAndMaxUsageTest.java:72)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
----------System.out:(6/357)----------
CompileCommand: compileonly null.*
INFO: trying to test CodeCache of max size 251658240 and initial usage 2763776
CodeCache: size=245760Kb used=2743Kb max_used=2743Kb free=243017Kb
bounds [0x000000010ce47000, 0x000000011be47000, 0x000000011be47000]
total_blobs=1008 nmethods=143 adapters=735
compilation: disabled (not enough contiguous free space left)
----------System.err:(23/1823)----------
Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
java.lang.VirtualMachineError: Out of space in CodeCache for adapters
at java.util.Formatter$FormatSpecifier.print(java.base@9-internal/Formatter.java:3295)
at java.util.Formatter$FormatSpecifier.print(java.base@9-internal/Formatter.java:3235)
at java.util.Formatter$FormatSpecifier.printFloat(java.base@9-internal/Formatter.java:2799)
at java.util.Formatter$FormatSpecifier.print(java.base@9-internal/Formatter.java:2750)
at java.util.Formatter.format(java.base@9-internal/Formatter.java:2525)
at java.util.Formatter.format(java.base@9-internal/Formatter.java:2461)
at java.lang.String.format(java.base@9-internal/String.java:2752)
at compiler.codecache.jmx.InitialAndMaxUsageTest.runTest(InitialAndMaxUsageTest.java:105)
at compiler.codecache.jmx.InitialAndMaxUsageTest.main(InitialAndMaxUsageTest.java:72)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
- backported by
-
JDK-8163494 compiler.codecache.jmx.InitialAndMaxUsageTest can not be used w/ disabled SegmentedCodeCache
-
- Resolved
-