hg: jdk7/hotspot-comp/hotspot: 7003554: (tiered) assert(is_null_object() || handle() != NULL) failed: cannot embed null pointer

igor.veresov at oracle.com igor.veresov at oracle.com
Thu Dec 2 23:36:58 PST 2010


Changeset: 5ddfcf4b079e
Author:    iveresov
Date:      2010-12-02 17:21 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/5ddfcf4b079e

7003554: (tiered) assert(is_null_object() || handle() != NULL) failed: cannot embed null pointer
Summary: C1 with profiling doesn't check whether the MDO has been really allocated, which can silently fail if the perm gen is full. The solution is to check if the allocation failed and bailout out of inlining or compilation.
Reviewed-by: kvn, never

! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp
! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
! src/share/vm/c1/c1_Compilation.cpp
! src/share/vm/c1/c1_GraphBuilder.cpp
! src/share/vm/c1/c1_IR.cpp
! src/share/vm/c1/c1_LIRGenerator.cpp
! src/share/vm/ci/ciMethod.cpp
! src/share/vm/ci/ciMethod.hpp
! src/share/vm/opto/compile.cpp
! src/share/vm/opto/graphKit.cpp



More information about the hotspot-compiler-dev mailing list