JDK-7187429 : NMT ON: Merge failure should cause NMT to shutdown
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs24
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-07-27
  • Updated: 2013-06-26
  • Resolved: 2012-08-27
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
7u40Resolved 8Fixed hs24Fixed
Description
NMT merge failures are result of out of native memory. Current implementation asserts the merge result, which is incorrect and inconsistent with requirement. In out of native memory scenario, NMT should shutdown itself and free the memory to allow VM to continue.

Comments
Discussed with Zhengyu on how to reproduce this. It is really hard to reproduce. Merge can fail only when OOM, and NMT shutdown as out of memory.
26-06-2013

EVALUATION See main CR.
27-08-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/4acebbe310e1
22-08-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/4acebbe310e1
02-08-2012

EVALUATION Failed in nightly tests (7/26/2012), test case: bigapps/Kitchensink/stability
27-07-2012