OpenJDK / jdk / jdk
changeset 43489:a07cb821130d
8173278: [JVMCI] query_update_method_data might write outside _trap_hist array
Reviewed-by: kvn
author | dnsimon |
---|---|
date | Thu, 26 Jan 2017 05:53:14 -0800 |
parents | 82158896218c |
children | 3c43be5db478 |
files | hotspot/src/share/vm/oops/methodData.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/share/vm/oops/methodData.hpp Sun Jan 22 16:33:54 2017 +0800 +++ b/hotspot/src/share/vm/oops/methodData.hpp Thu Jan 26 05:53:14 2017 -0800 @@ -2183,7 +2183,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.