< prev index next >

src/hotspot/share/oops/valueKlass.hpp

Print this page
rev 52849 : [mq]: q-mirror-reflection

*** 23,32 **** --- 23,33 ---- */ #ifndef SHARE_VM_OOPS_VALUEKLASS_HPP #define SHARE_VM_OOPS_VALUEKLASS_HPP + #include "classfile/javaClasses.hpp" #include "oops/instanceKlass.hpp" #include "oops/method.hpp" #include "oops/oop.inline.hpp" // A ValueKlass is a specialized InstanceKlass for value types.
*** 125,134 **** --- 126,139 ---- public: // Type testing bool is_value_slow() const { return true; } + oop value_mirror() const { + return java_lang_Class::value_mirror(java_mirror()); + } + // Casting from Klass* static ValueKlass* cast(Klass* k) { assert(k->is_value(), "cast to ValueKlass"); return (ValueKlass*) k; }
< prev index next >