diff src/share/vm/oops/methodData.hpp @ 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 d84fa69a9874
children 51e97f88c771
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.hpp	Tue Nov 26 23:14:18 2013 +0100
+++ b/src/share/vm/oops/methodData.hpp	Wed Nov 27 02:31:03 2013 +0100
@@ -1896,7 +1896,7 @@
   MethodData() {}; // For ciMethodData
 
   bool is_methodData() const volatile { return true; }
-  void initialize();
+  void initialize(bool for_reprofile = false);
 
   // Whole-method sticky bits and flags
   enum {
@@ -2103,7 +2103,6 @@
 
   bool is_mature() const;  // consult mileage and ProfileMaturityPercentage
   static int mileage_of(Method* m);
-  static bool is_empty_data(int size, Bytecodes::Code code);
 
   // Support for interprocedural escape analysis, from Thomas Kotzmann.
   enum EscapeFlag {