src/hotspot/share/code/debugInfo.cpp
changeset 49449 ef5d5d343e2a
parent 49192 6734eeef4283
child 51268 4ac20e5f96ce
equal deleted inserted replaced
49448:b91b558a9076 49449:ef5d5d343e2a
    26 #include "code/debugInfo.hpp"
    26 #include "code/debugInfo.hpp"
    27 #include "code/debugInfoRec.hpp"
    27 #include "code/debugInfoRec.hpp"
    28 #include "code/nmethod.hpp"
    28 #include "code/nmethod.hpp"
    29 #include "oops/oop.inline.hpp"
    29 #include "oops/oop.inline.hpp"
    30 #include "runtime/handles.inline.hpp"
    30 #include "runtime/handles.inline.hpp"
    31 #include "runtime/interfaceSupport.hpp"
    31 #include "runtime/interfaceSupport.inline.hpp"
    32 #include "runtime/jniHandles.inline.hpp"
    32 #include "runtime/jniHandles.inline.hpp"
    33 #include "runtime/thread.hpp"
    33 #include "runtime/thread.hpp"
    34 
    34 
    35 // Constructors
    35 // Constructors
    36 
    36 
   118 void LocationValue::print_on(outputStream* st) const {
   118 void LocationValue::print_on(outputStream* st) const {
   119   location().print_on(st);
   119   location().print_on(st);
   120 }
   120 }
   121 
   121 
   122 // ObjectValue
   122 // ObjectValue
       
   123 
       
   124 void ObjectValue::set_value(oop value) {
       
   125   _value = Handle(Thread::current(), value);
       
   126 }
   123 
   127 
   124 void ObjectValue::read_object(DebugInfoReadStream* stream) {
   128 void ObjectValue::read_object(DebugInfoReadStream* stream) {
   125   _klass = read_from(stream);
   129   _klass = read_from(stream);
   126   assert(_klass->is_constant_oop(), "should be constant java mirror oop");
   130   assert(_klass->is_constant_oop(), "should be constant java mirror oop");
   127   int length = stream->read_int();
   131   int length = stream->read_int();