-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 16, 17
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8266878 | 11.0.12 | Thomas Stuefe | P4 | Resolved | Fixed | b02 |
We see timeouts with this test on slow large (memory wise) AIX machines, as well as large core files.
This test is a negative test which tests that the VM corectly recognizes an error condition and aborts. Code goes through jni_FatalError()->os::abort(), writes a core and aborts the process.
No parameters are given for that VM invocation, so heap size depends on machine size. On my Linux box, the generated core takes about 500m. On AIX we see cores of 16G and more.
The difference between AIX and other platforms is that AIX does not have the notion of "committing" memory (we have no MAP_NORESERVE flag), so all mmapped memory counts toward the commit charge from the moment it is mapped. That makes core files on AIX annoyingly large. Writing them takes time, which makes the test timeout.
The fix is to run the test without CreateCoredumpOnCrash.
(Thanks to my colleague Arno Zeller for figuring that one out)
This test is a negative test which tests that the VM corectly recognizes an error condition and aborts. Code goes through jni_FatalError()->os::abort(), writes a core and aborts the process.
No parameters are given for that VM invocation, so heap size depends on machine size. On my Linux box, the generated core takes about 500m. On AIX we see cores of 16G and more.
The difference between AIX and other platforms is that AIX does not have the notion of "committing" memory (we have no MAP_NORESERVE flag), so all mmapped memory counts toward the commit charge from the moment it is mapped. That makes core files on AIX annoyingly large. Writing them takes time, which makes the test timeout.
The fix is to run the test without CreateCoredumpOnCrash.
(Thanks to my colleague Arno Zeller for figuring that one out)
- backported by
-
JDK-8266878 java/lang/instrument/PremainClass/InheritAgent0100.java times out
- Resolved
- duplicates
-
JDK-8260469 6 java/lang/instrument/PremainClass tests timed out
- Closed
- relates to
-
JDK-8165276 Spec states to invoke the premain method in an agent class if it's public but implementation differs
- Resolved