JDK-7182543 : NMT ON: Aggregate a few NMT related bugs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs24
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-07-09
  • Updated: 2014-09-22
  • Resolved: 2012-07-24
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 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
1. MemTrackWorker's generations_in_use calculation is incorrect.

2. After shutdown NMT, there arepossibilities to leak memRecorders

3. JavaThread in _thread_blocked state can run through safepoints(?), if so, they are not properly blocked in MemTracker::create_memory_record().

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/7e5976e66c62

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/7e5976e66c62