JDK-6441868 : VM crash from null Node pointer in 1.5u6 FastLock optimizations
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0u5
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2006-06-21
  • Updated: 2010-04-02
  • Resolved: 2006-06-21
Related Reports
Duplicate :  
Description
Reported on a forum:

http://forum.java.sun.com/thread.jspa?threadID=741527&tstart=75

A quick look reveals it is a null pointer from region->in(2) in these lines of locknode.cpp:

bool AbstractLockNode::find_matching_unlock(const RegionNode* region, FastLockNode* lock,
                                            GrowableArray<AbstractLockNode*> &lock_ops) {
  IfFalseNode* fast_unlock_false = NULL;
  // the region for the merge has exactly three inputs, control, a
  // control Proj and the IfFalse.
  if (region->req() == 3) {
    fast_unlock_false = region->in(2)->is_IfFalse();
  }

Attached file is annotated crash log.