< prev index next >

src/hotspot/share/code/debugInfo.cpp

Print this page

        

@@ -119,10 +119,14 @@
   location().print_on(st);
 }
 
 // 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");
   int length = stream->read_int();
   for (int i = 0; i < length; i++) {
< prev index next >