Mercurial > hg > openjdk > aarch64-port > hotspot
changeset 7550:9200b9e93039
Use os::malloc to allocate the register map.
author | aph |
---|---|
date | Wed, 17 Sep 2014 04:02:47 -0400 |
parents | a6df78e590bb |
children | 07ecc743c580 |
files | src/cpu/aarch64/vm/frame_aarch64.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/frame_aarch64.cpp Wed Sep 10 10:42:58 2014 -0400 +++ b/src/cpu/aarch64/vm/frame_aarch64.cpp Wed Sep 17 04:02:47 2014 -0400 @@ -807,7 +807,7 @@ unsigned long bcx, unsigned long thread) { RegisterMap map((JavaThread*)thread, false); if (!reg_map) { - reg_map = (RegisterMap*)new char[sizeof map]; + reg_map = (RegisterMap*)os::malloc(sizeof map, mtNone); } memcpy(reg_map, &map, sizeof map); {