hotspot/src/share/vm/opto/escape.cpp
changeset 20698 32791aebf1a4
parent 18507 61bfc8995bb3
child 22213 8b6e8f6a38ab
equal deleted inserted replaced
20697:2a5211252a04 20698:32791aebf1a4
   778           scalar_replaceable = false;
   778           scalar_replaceable = false;
   779         }
   779         }
   780       }
   780       }
   781     } else {  // Allocate instance
   781     } else {  // Allocate instance
   782       if (cik->is_subclass_of(_compile->env()->Thread_klass()) ||
   782       if (cik->is_subclass_of(_compile->env()->Thread_klass()) ||
       
   783           cik->is_subclass_of(_compile->env()->Reference_klass()) ||
   783          !cik->is_instance_klass() || // StressReflectiveCode
   784          !cik->is_instance_klass() || // StressReflectiveCode
   784           cik->as_instance_klass()->has_finalizer()) {
   785           cik->as_instance_klass()->has_finalizer()) {
   785         es = PointsToNode::GlobalEscape;
   786         es = PointsToNode::GlobalEscape;
   786       }
   787       }
   787     }
   788     }