JDK-8248195 : Need to adapt more SA tests to run on core files instead of just a live process
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 16
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2020-06-24
  • Updated: 2024-07-10
  • Resolved: 2024-07-10
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.

To download the current JDK release, click here.
Other
tbdFixed
Related Reports
Blocks :  
Description
Right now there are only 3 SA tests that run on core files, and 2 are basically the same:

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 more core file testing than this, especially since live process testing on OSX keeps getting more and more limited.

The intent of this CR is as a parent CR to subtasks that will be responsible for adding core file support to individual tests. Those subtasks can be created on demand as work is done to convert tests. Once we feel enough have been converted, this CR can be closed.

Note that this work depends on first fixing JDK-8248194 so it is easier to convert some of the tests.
Comments
<Serviceability triage team>: This is not on our current list of priorities. A few new tests have been added. We don't plan on adding more. Please re-open with a justification comment if you'd like us to reconsider.
10-07-2024