src/hotspot/share/oops/cpCache.inline.hpp
changeset 49816 a3e79f97e86b
parent 49340 4e82736053ae
child 50429 83aec1d357d4
--- a/src/hotspot/share/oops/cpCache.inline.hpp	Wed Apr 18 15:57:19 2018 +0200
+++ b/src/hotspot/share/oops/cpCache.inline.hpp	Wed Apr 18 10:39:40 2018 -0400
@@ -26,6 +26,7 @@
 #define SHARE_VM_OOPS_CPCACHEOOP_INLINE_HPP
 
 #include "oops/cpCache.hpp"
+#include "oops/oopHandle.inline.hpp"
 #include "runtime/orderAccess.inline.hpp"
 
 inline int ConstantPoolCacheEntry::indices_ord() const { return OrderAccess::load_acquire(&_indices); }
@@ -96,4 +97,6 @@
   }
 }
 
+inline oop ConstantPoolCache::resolved_references() { return _resolved_references.resolve(); }
+
 #endif // SHARE_VM_OOPS_CPCACHEOOP_INLINE_HPP