RFR : 8211089: windows : print process heaps information in hs_err file

Baesken, Matthias matthias.baesken at sap.com
Tue Sep 25 13:52:40 UTC 2018


Hello , please review this small change.
It adds output of information regarding Windows process heaps (see https://docs.microsoft.com/en-us/windows/desktop/api/heapapi/nf-heapapi-getprocessheaps )
to the hs_error file.
we had this for some time in our internal JVM and want to bring it to OpenJDK as well.
It is a Windows-only extension.

bug :   8211089: windows : print process heaps information in hs_err file
https://bugs.openjdk.java.net/browse/JDK-8211089


webrev :
http://cr.openjdk.java.net/~mbaesken/webrevs/8211089.0/



extended output is usually small, and looks like this :


---------------  S Y S T E M  ---------------

OS: Windows 10 , 64 bit Build ......

....

4 Process Heaps: 
  Heap ID: 1 0x00000186491a0000  default crt  low-fragmentation
  Heap ID: 2 0x0000018649000000                      standard
  Heap ID: 3 0x0000018649430000                      low-fragmentation
  Heap ID: 4 0x000001864adb0000                      low-fragmentation
  

Thanks, Matthias


More information about the hotspot-dev mailing list