diff -r c645d414429f -r 93f24e7b3c43 hotspot/src/share/vm/ci/ciInstance.hpp --- a/hotspot/src/share/vm/ci/ciInstance.hpp Mon Apr 11 21:42:31 2016 +0300 +++ b/hotspot/src/share/vm/ci/ciInstance.hpp Mon Apr 11 21:42:55 2016 +0300 @@ -36,6 +36,7 @@ // instance of java.lang.Object. class ciInstance : public ciObject { CI_PACKAGE_ACCESS + friend class ciField; protected: ciInstance(instanceHandle h_i) : ciObject(h_i) { @@ -50,6 +51,8 @@ void print_impl(outputStream* st); + ciConstant field_value_impl(BasicType field_btype, int offset); + public: // If this object is a java mirror, return the corresponding type. // Otherwise, return NULL.