JDK-8251255 : [linux] Add process-memory information to hs-err and VM.info
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2020-08-06
  • Updated: 2024-11-20
  • Resolved: 2020-08-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.
JDK 11 JDK 16
11.0.11Fixed 16 b11Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8322340 :  
Description
While investigating a customer issue I was missing basic process related memory information in the hs-err files. Things like virtual size and RSS. 

These seem rather fundamental, and we should have them.


Comments
Fix Request: Important to fix because: Added memory information helps us with support Nature of fix: In hs-err file printing, reads values for process rss and virtual size from proc file system and prints it out Low risk because: Patch has been active in head for half a year. It it is a small, isolated piece of coding with little to no dependencies to the rest of the VM. Applies cleanly: Only with fuzz=3 since the surrounding code changed too much. RFR thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-November/004289.html Testing done: nightlies, manual tests
01-12-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/a6bd3cd0c3a2 User: stuefe Date: 2020-08-10 13:43:41 +0000
10-08-2020