8248130: AArch64: pf() uses mtNone instead of mtInternal

Reviewed-by: tschatzl, kbarrett, dholmes
This commit is contained in:
Stefan Karlsson 2020-06-24 12:19:14 +02:00
parent 27fc8b6787
commit a1f02d13e5

@ -749,7 +749,7 @@ extern "C" void npf() {
extern "C" void pf(unsigned long sp, unsigned long fp, unsigned long pc,
unsigned long bcx, unsigned long thread) {
if (!reg_map) {
reg_map = NEW_C_HEAP_OBJ(RegisterMap, mtNone);
reg_map = NEW_C_HEAP_OBJ(RegisterMap, mtInternal);
::new (reg_map) RegisterMap((JavaThread*)thread, false);
} else {
*reg_map = RegisterMap((JavaThread*)thread, false);