Mercurial > hg > graal-compiler
diff src/share/vm/opto/escape.cpp @ 12871:6171eb9da4fd
8007923: Tests on references fails
Reviewed-by: kvn, iveresov
author | twisti |
---|---|
date | Tue, 08 Oct 2013 19:57:28 -0700 |
parents | b800986664f4 |
children | 3e98456aab94 |
line wrap: on
line diff
--- a/src/share/vm/opto/escape.cpp Tue Oct 08 07:08:27 2013 -0700 +++ b/src/share/vm/opto/escape.cpp Tue Oct 08 19:57:28 2013 -0700 @@ -780,6 +780,7 @@ } } else { // Allocate instance if (cik->is_subclass_of(_compile->env()->Thread_klass()) || + cik->is_subclass_of(_compile->env()->Reference_klass()) || !cik->is_instance_klass() || // StressReflectiveCode cik->as_instance_klass()->has_finalizer()) { es = PointsToNode::GlobalEscape;