Index: vm/vmcore/src/jit/jit_runtime_support.cpp =================================================================== --- vm/vmcore/src/jit/jit_runtime_support.cpp (revision 543458) +++ vm/vmcore/src/jit/jit_runtime_support.cpp (working copy) @@ -2730,6 +2730,7 @@ static void update_general_type_checking_stats(VTable *sub, Class *super) { #ifdef VM_STATS + UNSAFE_REGION_START VM_Statistics::get_vm_stats().num_type_checks++; if (sub->clss == super) VM_Statistics::get_vm_stats().num_type_checks_equal_type++; @@ -2741,6 +2742,7 @@ VM_Statistics::get_vm_stats().num_type_checks_super_is_interface++; else if (super->get_depth() >= vm_max_fast_instanceof_depth()) VM_Statistics::get_vm_stats().num_type_checks_super_is_too_deep++; + UNSAFE_REGION_END #endif // VM_STATS }