RFR: 8255973: Add more logging to debug JDK-8255917 [v4]

Yumin Qi minqi at openjdk.java.net
Thu Nov 12 20:34:10 UTC 2020


> Hi, Please review
> 
>   JDK-8255917 failed on not finding the committed region from the _reserved_regions list when try to add the region to the committed list. It looks like possible the region was released without logged. 
>   Added a log tag for tracing Native Memory Tracking (NMT) add/remove recorded info. This could help us to identify the problem for NMT or the code behind NMT. Function pd_attempt_reserve_memory_at could fail, but no message logged, so added a logging for its failure. 
> 
> Tests: tier1-4, local jtreg.

Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:

  Print out errno at failing to reserve memory region at debug log level

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1150/files
  - new: https://git.openjdk.java.net/jdk/pull/1150/files/67082078..c1fed912

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1150&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1150&range=02-03

  Stats: 6 lines in 2 files changed: 0 ins; 3 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1150.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1150/head:pull/1150

PR: https://git.openjdk.java.net/jdk/pull/1150


More information about the hotspot-runtime-dev mailing list