8173278: [JVMCI] query_update_method_data might write outside _trap_hist array

Reviewed-by: kvn
This commit is contained in:
Doug Simon 2017-01-26 05:53:14 -08:00
parent 9eb2a991de
commit 8c46b8e160

View File

@ -2183,7 +2183,7 @@ private:
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.