diff src/share/vm/graal/graalCompilerToVM.cpp @ 13181:389d40d7d99f

fixed bug in MethodData and added assertion that precomputed size == initialized size reduced diff to upstream HotSpot
author Doug Simon <doug.simon@oracle.com>
date Wed, 27 Nov 2013 02:31:03 +0100
parents c0b0974dd509
children 3f34b8f91cc5 25da0f4e5c77
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp	Tue Nov 26 23:14:18 2013 +0100
+++ b/src/share/vm/graal/graalCompilerToVM.cpp	Wed Nov 27 02:31:03 2013 +0100
@@ -1025,7 +1025,7 @@
     method_data = MethodData::allocate(loader_data, method, CHECK);
     method->set_method_data(method_data);
   } else {
-    method_data->initialize();
+    method_data->initialize(true);
   }
 C2V_END