Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6441868

VM crash from null Node pointer in 1.5u6 FastLock optimizations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 5.0u5
    • hotspot
    • None
    • sparc
    • solaris_9

      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.

            Unassigned Unassigned
            jrose John Rose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: