changeset 23773:5796b1867b68

Fix allocation of trap history (was lost in a merge)
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Fri, 30 Sep 2016 12:22:05 +0200
parents 59f53c97a38a
children 038908669316
files src/share/vm/oops/methodData.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.hpp	Thu Sep 29 09:56:48 2016 -0700
+++ b/src/share/vm/oops/methodData.hpp	Fri Sep 30 12:22:05 2016 +0200
@@ -2184,7 +2184,7 @@
   uint _nof_overflow_traps;         // trap count, excluding _trap_hist
   union {
     intptr_t _align;
-    u1 _array[_trap_hist_limit];
+    u1 _array[JVMCI_ONLY(2 *) _trap_hist_limit];
   } _trap_hist;
 
   // Support for interprocedural escape analysis, from Thomas Kotzmann.