# HG changeset patch # User Gilles Duboscq # Date 1416996190 -3600 # Node ID 99e5d0a7600e1a089dc800ffac3280d408245c1e # Parent 57880e95102e8e57b8559f584a2a7bef2ef62109 Fix _trap_hist_limit after recent deoptimization reasons changes diff -r 57880e95102e -r 99e5d0a7600e src/share/vm/oops/methodData.hpp --- a/src/share/vm/oops/methodData.hpp Wed Nov 26 11:29:24 2014 +0100 +++ b/src/share/vm/oops/methodData.hpp Wed Nov 26 11:03:10 2014 +0100 @@ -2163,7 +2163,7 @@ // Whole-method sticky bits and flags enum { - _trap_hist_limit = 19 GRAAL_ONLY(+2), // decoupled from Deoptimization::Reason_LIMIT + _trap_hist_limit = 19 GRAAL_ONLY(+5), // decoupled from Deoptimization::Reason_LIMIT _trap_hist_mask = max_jubyte, _extra_data_count = 4 // extra DataLayout headers, for trap history }; // Public flag values @@ -2173,11 +2173,7 @@ 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 + u1 _array[GRAAL_ONLY(2*)_trap_hist_limit]; } _trap_hist; // Support for interprocedural escape analysis, from Thomas Kotzmann.