diff src/hotspot/share/code/compiledMethod.cpp @ 53628:9cb53c505acd

8214056: Allow the GC to attach context information to CompiledMethod Reviewed-by: shade, kvn, adinn
author eosterlund
date Thu, 22 Nov 2018 09:55:44 +0100
parents 8b26bd8b1832
children 7e268f863ff0
line wrap: on
line diff
--- a/src/hotspot/share/code/compiledMethod.cpp	Thu Nov 22 09:46:24 2018 +0100
+++ b/src/hotspot/share/code/compiledMethod.cpp	Thu Nov 22 09:55:44 2018 +0100
@@ -44,7 +44,8 @@
                                bool caller_must_gc_arguments)
   : CodeBlob(name, type, layout, frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments),
     _mark_for_deoptimization_status(not_marked),
-    _method(method)
+    _method(method),
+    _gc_data(NULL)
 {
   init_defaults();
 }
@@ -55,7 +56,8 @@
   : CodeBlob(name, type, CodeBlobLayout((address) this, size, header_size, cb), cb,
              frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments),
     _mark_for_deoptimization_status(not_marked),
-    _method(method)
+    _method(method),
+    _gc_data(NULL)
 {
   init_defaults();
 }