Mercurial > hg > truffle
comparison src/share/vm/ci/ciObject.hpp @ 8151:b8f261ba79c6
Minimize diff to plain HotSpot version.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Mar 2013 21:00:29 +0100 |
parents | 2cb439954abf |
children |
comparison
equal
deleted
inserted
replaced
8150:b66f831ac5ab | 8151:b8f261ba79c6 |
---|---|
63 ciObject(); | 63 ciObject(); |
64 ciObject(oop o); | 64 ciObject(oop o); |
65 ciObject(Handle h); | 65 ciObject(Handle h); |
66 ciObject(ciKlass* klass); | 66 ciObject(ciKlass* klass); |
67 | 67 |
68 public: | |
69 jobject handle() const { return _handle; } | 68 jobject handle() const { return _handle; } |
70 // Get the VM oop that this object holds. | 69 // Get the VM oop that this object holds. |
71 oop get_oop() const { | 70 oop get_oop() const { |
72 assert(_handle != NULL, "null oop"); | 71 assert(_handle != NULL, "null oop"); |
73 return JNIHandles::resolve_non_null(_handle); | 72 return JNIHandles::resolve_non_null(_handle); |
74 } | 73 } |
75 protected: | |
76 | 74 |
77 void init_flags_from(oop x); | 75 void init_flags_from(oop x); |
78 | 76 |
79 // Virtual behavior of the print() method. | 77 // Virtual behavior of the print() method. |
80 virtual void print_impl(outputStream* st) {} | 78 virtual void print_impl(outputStream* st) {} |