Details
-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b12
-
x86_64, aarch64
-
linux, windows
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8317381 | 17.0.10-oracle | Adithya Haradi Gopal | P4 | Resolved | Fixed | b01 |
JDK-8317732 | 17.0.10 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8322892 | 11.0.23-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b01 |
JDK-8323493 | 11.0.23 | Andrew Lu | P4 | Resolved | Fixed | b01 |
Description
vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded004/TestDescription.java
Here's a snippet from the log file:
#section:main
----------messages:(4/303)----------
command: main nsk.monitoring.MemoryPoolMBean.isUsageThresholdExceeded.isexceeded001 -testMode=proxy
reason: User specified action: run main/othervm nsk.monitoring.MemoryPoolMBean.isUsageThresholdExceeded.isexceeded001 -testMode=proxy
Mode: othervm [/othervm specified]
elapsed time (seconds): 6.72
----------configuration:(0/0)----------
----------System.out:(93/4689)----------
[2.986s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
[2.986s][info][jfr,startup]
[2.986s][info][jfr,startup] Use jcmd 21828 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
MemoryMonitor > Test mode: access to MBean through proxy
MemoryMonitor > MBeanServer: DEFAULT
MemoryMonitor > Memory: heap (This setting is used in lowmem* tests only)
MemoryMonitor > Monitoring: notification (This setting is used in lowmem* tests only)
MemoryMonitor > Threshold: usage (This setting is used in lowmem* tests only)
MemoryMonitor > Timeout: 30 (This setting is used in lowmem* tests only)
0 pool Metaspace of type: Non-heap memory
used value is 6295168 max is -1 isExceeded = false
threshold set to 6295169
threshold count 1
reset peak usage. peak usage = 6554672 isExceeded = true
Allocated heap. isExceeded = true
used value is 6597064 max is -1 isExceeded = true
peak used value is 6597064 peak max is -1
threshold set to 6295169
threshold count 1
thresholdCount increasing outside our control for non-heap Pool: skip
1 pool CodeHeap 'non-nmethods' of type: Non-heap memory
used value is 1787776 max is 5898240 isExceeded = false
threshold set to 1787777
threshold count 0
reset peak usage. peak usage = 1787776 isExceeded = false
Allocated heap. isExceeded = false
used value is 1794560 max is 5898240 isExceeded = false
peak used value is 1794560 peak max is 5898240
threshold set to 1787777
threshold count 0
# ERROR: isUsageThresholdExceeded() returned false, and is still false, while threshold = 1787777 and used peak = 1794560
The following stacktrace is for failure analysis.
nsk.share.TestFailure: isUsageThresholdExceeded() returned false, and is still false, while threshold = 1787777 and used peak = 1794560
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at nsk.monitoring.MemoryPoolMBean.isUsageThresholdExceeded.isexceeded001.run(isexceeded001.java:140)
at nsk.monitoring.MemoryPoolMBean.isUsageThresholdExceeded.isexceeded001.main(isexceeded001.java:42)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
2 pool CodeHeap 'profiled nmethods' of type: Non-heap memory
used value is 3219072 max is 122880000 isExceeded = false
threshold set to 3219073
threshold count 0
reset peak usage. peak usage = 3224320 isExceeded = true
Allocated heap. isExceeded = true
used value is 3224320 max is 122880000 isExceeded = true
peak used value is 3224320 peak max is 122880000
threshold set to 3219073
threshold count 0
3 pool Compressed Class Space of type: Non-heap memory
used value is 691904 max is 1073741824 isExceeded = false
threshold set to 691905
threshold count 0
reset peak usage. peak usage = 691904 isExceeded = false
Allocated heap. isExceeded = false
used value is 691904 max is 1073741824 isExceeded = false
peak used value is 691904 peak max is 1073741824
threshold set to 691905
threshold count 0
4 pool G1 Eden Space of type: Heap memory
does not support usage thresholds: skip
5 pool G1 Old Gen of type: Heap memory
used value is 2341376 max is 1073741824 isExceeded = false
threshold set to 2341377
threshold count 0
reset peak usage. peak usage = 2341376 isExceeded = false
Allocated heap. isExceeded = false
used value is 2341376 max is 1073741824 isExceeded = false
peak used value is 2341376 peak max is 1073741824
threshold set to 2341377
threshold count 0
6 pool G1 Survivor Space of type: Heap memory
does not support usage thresholds: skip
7 pool CodeHeap 'non-profiled nmethods' of type: Non-heap memory
used value is 1313920 max is 122880000 isExceeded = false
threshold set to 1313921
threshold count 0
reset peak usage. peak usage = 1313920 isExceeded = false
Allocated heap. isExceeded = false
used value is 1313920 max is 122880000 isExceeded = false
peak used value is 1313920 peak max is 122880000
threshold set to 1313921
threshold count 0
TEST FAILED
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: isUsageThresholdExceeded() returned false, and is still false, while threshold = 1787777 and used peak = 1794560
----------System.err:(0/0)----------
----------rerun:(39/6729)*----------
Attachments
Issue Links
- backported by
-
JDK-8317381 MemoryPoolMBean/isUsageThresholdExceeded tests failed with "isUsageThresholdExceeded() returned false, and is still false, while threshold = MMMMMMM and used peak = NNNNNNN"
- Resolved
-
JDK-8317732 MemoryPoolMBean/isUsageThresholdExceeded tests failed with "isUsageThresholdExceeded() returned false, and is still false, while threshold = MMMMMMM and used peak = NNNNNNN"
- Resolved
-
JDK-8322892 MemoryPoolMBean/isUsageThresholdExceeded tests failed with "isUsageThresholdExceeded() returned false, and is still false, while threshold = MMMMMMM and used peak = NNNNNNN"
- Resolved
-
JDK-8323493 MemoryPoolMBean/isUsageThresholdExceeded tests failed with "isUsageThresholdExceeded() returned false, and is still false, while threshold = MMMMMMM and used peak = NNNNNNN"
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/bcfabe3c
-
Commit openjdk/jdk17u-dev/aaa6962a
-
Commit openjdk/jdk/3601e30d
-
Review openjdk/jdk11u-dev/2444
-
Review openjdk/jdk17u-dev/1853
-
Review openjdk/jdk/9842