-
Bug
-
Resolution: Fixed
-
P3
-
16
-
b05
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8328651 | 11.0.24 | Andrew Lu | P3 | Resolved | Fixed | b01 |
open/test/hotspot/jtreg/serviceability/sa/ClhsdbCDSCore.java
open/test/hotspot/jtreg/serviceability/sa/TestJmapCore.java
open/test/hotspot/jtreg/serviceability/sa/TestJmapCoreMetaspace.java
We need to add more. I looked into adding some core file support to ClhsdbFindPC and found that it would be a fair amount of work, and much of it replicated from existing tests. We should have support for SA core files tests in common code like SATestUtils.java and LingeredApp.java. The 3 major areas of support I can think of are:
1. Add a shared API for locating the path to the core file. This includes parsing the output of the crashed process to locate where the core file was saved, and returning this location to the user. This API will be placed in the new CoreUtils class.
2. Add a shared API to support for adding the "ulimit -c unlimited" prefix to the command that will produce the core file, allowing the overriding of any lower limit so we can be sure the core file will be produced. This API will also be placed in the new CoreUtils class
3. LingeredApp should include support for producing a core file.
Note, ClhsdbLauncher already has support for debugging a core file.
With these three things in place, it should be fairly easy to modify existing ClhsdbLauncher based tests to run both on a live process and on a core file.
- backported by
-
JDK-8328651 Need better support for running SA tests on core files
- Resolved
- blocks
-
JDK-8247514 Improve clhsdb 'findpc' ability to determine what an address points to by improving PointerFinder and PointerLocation classes
- Resolved
-
JDK-8248195 Need to adapt more SA tests to run on core files instead of just a live process
- Closed
- duplicates
-
JDK-8202297 SA: Test: Consolidate the corefile debugging components of ClhsdbCDSCore.java and TestSAServer.java
- Closed
- is blocked by
-
JDK-8248667 Need support for building native libraries located in the test/lib directory
- Resolved
- relates to
-
JDK-8249002 New serviceability/sa/ClhsdbFindPC.java #id2 and #id3 tests are failing with ZGC
- Resolved
-
JDK-8250520 3 SA tests fail "ERROR: failed to workaround classshareing"
- Closed