< prev index next >

src/hotspot/share/code/dependencies.hpp

Print this page
@@ -461,10 +461,16 @@
    size_t size_in_bytes() {
      assert(_content_bytes != nullptr, "encode it first");
      return _size_in_bytes;
    }
  
+   void set_content(address content_bytes, int size_in_bytes) {
+     assert(_content_bytes == nullptr, "not intialized expected");
+     _content_bytes = content_bytes;
+     _size_in_bytes = size_in_bytes;
+   }
+ 
    OopRecorder* oop_recorder() { return _oop_recorder; }
    CompileLog*  log()          { return _log; }
  
    void copy_to(nmethod* nm);
  
< prev index next >