mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-08 04:29:28 +00:00
8173278: [JVMCI] query_update_method_data might write outside _trap_hist array
Reviewed-by: kvn
This commit is contained in:
parent
9eb2a991de
commit
8c46b8e160
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user