diff options
author | kvn <none@none> | 2008-06-24 10:43:29 -0700 |
---|---|---|
committer | kvn <none@none> | 2008-06-24 10:43:29 -0700 |
commit | 34eee71691b49a1254bd4ed1ca26fbbf1a4ef92a (patch) | |
tree | ba04c270180c591c75012d44398398e61377fb84 /src/share/vm/opto/parse2.cpp | |
parent | 2cf4f168a318db2197f3d4d0f1d5b172e7da7cbb (diff) | |
download | jdk8u_hotspot-34eee71691b49a1254bd4ed1ca26fbbf1a4ef92a.tar.gz |
6710487: More than half of JDI Regression tests hang with COOPs in -Xcomp mode
Summary: Remove DecodeNNode::decode() and EncodePNode::encode() methods.
Reviewed-by: rasbold, never
Diffstat (limited to 'src/share/vm/opto/parse2.cpp')
-rw-r--r-- | src/share/vm/opto/parse2.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/share/vm/opto/parse2.cpp b/src/share/vm/opto/parse2.cpp index c515f2e32..69bb03000 100644 --- a/src/share/vm/opto/parse2.cpp +++ b/src/share/vm/opto/parse2.cpp @@ -67,12 +67,9 @@ Node* Parse::array_addressing(BasicType type, int vals, const Type* *result2) { const Type* elemtype = arytype->elem(); if (UseUniqueSubclasses && result2 != NULL) { - const Type* el = elemtype; - if (elemtype->isa_narrowoop()) { - el = elemtype->is_narrowoop()->make_oopptr(); - } - const TypeInstPtr* toop = el->isa_instptr(); - if (toop) { + const Type* el = elemtype->make_ptr(); + if (el && el->isa_instptr()) { + const TypeInstPtr* toop = el->is_instptr(); if (toop->klass()->as_instance_klass()->unique_concrete_subklass()) { // If we load from "AbstractClass[]" we must see "ConcreteSubClass". const Type* subklass = Type::get_const_type(toop->klass()); |