< prev index next >

src/hotspot/share/ci/ciField.hpp

Print this page

@@ -200,10 +200,16 @@
              klass_name == ciSymbol::java_lang_Short_ShortCache() ||
              klass_name == ciSymbol::java_lang_Integer_IntegerCache() ||
              klass_name == ciSymbol::java_lang_Long_LongCache()));
   }
 
+  bool is_never_null() const {
+    // Cannot use (type()->basic_type() == T_VALUETYPE) -- if the class is not loaded,
+    // type() is an unloaded ciInstanceKlass!
+    return signature()->char_at(0) == 'Q';
+  }
+
   // Debugging output
   void print();
   void print_name_on(outputStream* st);
 };
 
< prev index next >