Maintenance Notice

The site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-6812217 : Base memory of MergeMem node violates assert during killing expanded AllocateArray node
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs14
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-03-03
  • Updated: 2011-04-24
  • Resolved: 2011-04-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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 Other
7Fixed hs21Fixed
Related Reports
Relates :  
Server jvm could fail fail with
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (/export/users2/lab_ipfjbld/nightly/dev/r1767_08-12-22_0800/sources/hotspot/src/share/vm/opto/memnode.cpp:3793), pid=5400, tid=2305843017755292288
> #  Error: assert(Node::in_dump() || n == __null || n->bottom_type() == Type::TOP || n->adr_type() == TypePtr::BOTTOM || n->adr_type() == TypeRawPtr::BOTTOM || Compile::current()->AliasLevel() == 0,"must be a wide memory")

The reason of failure is that the assert happens because during iGVN optimization after macro expanding the base
memory of MergeMem node does not satisfy the assertion. This MergeMem node is located between AllocateArray and Initialize nodes.

PUBLIC COMMENTS The assert in MergeMemNode::memory_at() misses the case when address is TOP.