JDK-8208255 : [mlvm] vm/mlvm/meth/stress/compiler/sequence fails with OOM
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:7,8,9,10,11
Priority:P3
Status:Closed
Resolution:Duplicate
OS:generic
CPU:generic
Submitted:2018-07-26
Updated:2019-09-13
Resolved:2019-01-31
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
vm/mlvm/meth/stress/compiler/sequences fails with OOM in 7r08.
Comments
closing as dup of JDK-8058176 [mlvm] tests should tolerate exceptions caused by code cache exhaustion
31-01-2019
Ekaterina Pavlova added a comment - 2017-05-11 16:34
The test fails in following configuration: "-server -Xcomp -XX:TieredStopAtLevel=1".
The cause is CodeHeap is full.
Full error message:
Java HotSpot(TM) 64-Bit Server VM warning: CodeHeap 'non-nmethods' is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code heap size using -XX:NonNMethodCodeHeapSize=
Java HotSpot(TM) 64-Bit Server VM warning: CodeHeap 'non-profiled nmethods' is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code heap size using -XX:NonProfiledCodeHeapSize=
CodeHeap 'non-profiled nmethods': size=233880Kb used=233879Kb max_used=233879Kb free=0Kb
bounds [0x00007f48c2723000, 0x00007f48d0b89000, 0x00007f48d0b89000]
CodeHeap 'non-nmethods': size=11880Kb used=11879Kb max_used=11879Kb free=0Kb
bounds [0x00007f48c1b89000, 0x00007f48c2723000, 0x00007f48c2723000]
total_blobs=119822 nmethods=97697 adapters=22025
compilation: disabled (not enough contiguous free space left)
CodeHeap 'non-profiled nmethods': size=233880Kb used=233879Kb max_used=233879Kb free=0Kb
bounds [0x00007f48c2723000, 0x00007f48d0b89000, 0x00007f48d0b89000]
CodeHeap 'non-nmethods': size=11880Kb used=11879Kb max_used=11879Kb free=0Kb
bounds [0x00007f48c1b89000, 0x00007f48c2723000, 0x00007f48c2723000]
total_blobs=119822 nmethods=97697 adapters=22025
compilation: disabled (not enough contiguous free space left)
The fix is to stop graph generation when we are close to CodeHeap size limit.
26-07-2018
Leonid Mesnik added a comment - 2013-03-02 07:56
This a stress test which also use high stress parameters.
I am not sure that it make sense to overload host by a lot of threads. May be it make a sense to lower them as for all other tests.
Just remove and use default values if other is not specified during test submission.