diff src/share/vm/ci/ciObjectFactory.cpp @ 6848:8e47bac5643a

7054512: Compress class pointers after perm gen removal Summary: support of compress class pointers in the compilers. Reviewed-by: kvn, twisti
author roland
date Tue, 09 Oct 2012 10:11:38 +0200
parents f6b0eb4e44cf
children d804e148cff8
line wrap: on
line diff
--- a/src/share/vm/ci/ciObjectFactory.cpp	Mon Oct 08 17:04:00 2012 -0700
+++ b/src/share/vm/ci/ciObjectFactory.cpp	Tue Oct 09 10:11:38 2012 +0200
@@ -146,7 +146,7 @@
 
   for (int i = T_BOOLEAN; i <= T_CONFLICT; i++) {
     BasicType t = (BasicType)i;
-    if (type2name(t) != NULL && t != T_OBJECT && t != T_ARRAY && t != T_NARROWOOP) {
+    if (type2name(t) != NULL && t != T_OBJECT && t != T_ARRAY && t != T_NARROWOOP && t != T_NARROWKLASS) {
       ciType::_basic_types[t] = new (_arena) ciType(t);
       init_ident_of(ciType::_basic_types[t]);
     }