JDK-8141419 : Kitchensink assert(Universe::heap()->is_in_closed_subset(o))
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-11-04
  • Updated: 2016-03-02
  • Resolved: 2016-03-02
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 9
9 b96Resolved
Related Reports
Relates :  
Description
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (C:\jprt\T\P1\220705.amurillo\s\hotspot\src\share\vm\memory/iterator.inline.hpp:61), pid=5252, tid=13840
#  assert(Universe::heap()->is_in_closed_subset(o)) failed: should be in closed *p 0x000000cc24bb29e8 0x000000cccc000000
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-20151030220705.amurillo.jdk9-hs-2015-10--b00)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-20151030220705.amurillo.jdk9-hs-2015-10--b00, compiled mode, g1 gc, windows-amd64)
# Core dump will be written. Default location: C:\users\aurora\sandbox\results\kitchensink\hs_err_pid5252.mdmp
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Comments
RULE "bigapps/Kitchensink/modulePostprocess" Crash Internal Error ...iterator.inline.hpp...assert(Universe::heap()->is_in_closed_subset(o)) failed: should be in closed *p ... ... RULE "bigapps/Kitchensink/stability" Crash Internal Error ...iterator.inline.hpp...assert(Universe::heap()->is_in_closed_subset(o)) failed: should be in closed *p ... ... RULE "bigapps/Kitchensink/stressExitCode" Crash Internal Error ...iterator.inline.hpp...assert(Universe::heap()->is_in_closed_subset(o)) failed: should be in closed *p ... ...
02-03-2016

After some analysis this seems to be a duplicate of JDK-8139424. We haven't seen this assert after the fix for that and it seems likely that this assert is also caused by having a reference to an humongous object that has been eagerly reclaimed even though it should have. Both G1 occurrences show references that point to the start of a free region and the gc log shows that eager reclamation have occurred just prior to the GC where the assert is hit.
02-03-2016

Note that the related JDK-8138705 is on Parallel GC, not G1.
09-11-2015

This bug may relate to JDK-8138705. Same tests different assert.
05-11-2015