src/hotspot/share/code/debugInfo.cpp
changeset 49449 ef5d5d343e2a
parent 49192 6734eeef4283
child 51268 4ac20e5f96ce
--- a/src/hotspot/share/code/debugInfo.cpp	Fri Mar 16 08:26:53 2018 -0400
+++ b/src/hotspot/share/code/debugInfo.cpp	Fri Mar 16 09:12:13 2018 -0400
@@ -28,7 +28,7 @@
 #include "code/nmethod.hpp"
 #include "oops/oop.inline.hpp"
 #include "runtime/handles.inline.hpp"
-#include "runtime/interfaceSupport.hpp"
+#include "runtime/interfaceSupport.inline.hpp"
 #include "runtime/jniHandles.inline.hpp"
 #include "runtime/thread.hpp"
 
@@ -121,6 +121,10 @@
 
 // ObjectValue
 
+void ObjectValue::set_value(oop value) {
+  _value = Handle(Thread::current(), value);
+}
+
 void ObjectValue::read_object(DebugInfoReadStream* stream) {
   _klass = read_from(stream);
   assert(_klass->is_constant_oop(), "should be constant java mirror oop");