JDK-8001592 : NMT: assertion failed: assert(_amount >= amt) failed: Just check: memBaseline.hpp:180
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-10-25
  • Updated: 2014-09-22
  • Resolved: 2012-11-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 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
Description
The assertion failure indicates that NMT mis-counted arena sizes, which caused total arena size exceeded total memory chunks backing the arenas.


Comments
Hard to verify, not possible to create regression test.
25-06-2013

This bug was found when NMT was enabled and a NMT query was submitted. It was hard to reproduce, and there is not easy way to write a test case for it.
25-06-2013