diff src/share/vm/oops/methodData.hpp @ 13216:51e97f88c771

Profile deoptimizations of OSR methods separately.
author Roland Schatz <roland.schatz@oracle.com>
date Tue, 03 Dec 2013 11:25:40 +0100
parents 389d40d7d99f
children 05de8cf71a41
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.hpp	Tue Dec 03 11:10:16 2013 +0100
+++ b/src/share/vm/oops/methodData.hpp	Tue Dec 03 11:25:40 2013 +0100
@@ -1900,7 +1900,11 @@
 
   // Whole-method sticky bits and flags
   enum {
+#ifdef GRAAL
+    _trap_hist_limit    = 18,   // decoupled from Deoptimization::Reason_LIMIT
+#else
     _trap_hist_limit    = 17,   // decoupled from Deoptimization::Reason_LIMIT
+#endif
     _trap_hist_mask     = max_jubyte,
     _extra_data_count   = 4     // extra DataLayout headers, for trap history
   }; // Public flag values
@@ -1910,7 +1914,11 @@
   uint _nof_overflow_traps;         // trap count, excluding _trap_hist
   union {
     intptr_t _align;
+#ifdef GRAAL
+    u1 _array[2*_trap_hist_limit];
+#else
     u1 _array[_trap_hist_limit];
+#endif
   } _trap_hist;
 
   // Support for interprocedural escape analysis, from Thomas Kotzmann.