1503 _pending_deoptimization = -1;
1504 _pending_failed_speculation = 0;
1505 _pending_transfer_to_interpreter = false;
1506 _adjusting_comp_level = false;
1507 _jvmci._alternate_call_target = NULL;
1508 assert(_jvmci._implicit_exception_pc == NULL, "must be");
1509 if (JVMCICounterSize > 0) {
1510 _jvmci_counters = NEW_C_HEAP_ARRAY(jlong, JVMCICounterSize, mtInternal);
1511 memset(_jvmci_counters, 0, sizeof(jlong) * JVMCICounterSize);
1512 } else {
1513 _jvmci_counters = NULL;
1514 }
1515 #endif // INCLUDE_JVMCI
1516 _reserved_stack_activation = NULL; // stack base not known yet
1517 (void)const_cast<oop&>(_exception_oop = oop(NULL));
1518 _exception_pc = 0;
1519 _exception_handler_pc = 0;
1520 _is_method_handle_return = 0;
1521 _jvmti_thread_state= NULL;
1522 _should_post_on_exceptions_flag = JNI_FALSE;
1523 _jvmti_get_loaded_classes_closure = NULL;
1524 _interp_only_mode = 0;
1525 _special_runtime_exit_condition = _no_async_condition;
1526 _pending_async_exception = NULL;
1527 _thread_stat = NULL;
1528 _thread_stat = new ThreadStatistics();
1529 _blocked_on_compilation = false;
1530 _jni_active_critical = 0;
1531 _pending_jni_exception_check_fn = NULL;
1532 _do_not_unlock_if_synchronized = false;
1533 _cached_monitor_info = NULL;
1534 _parker = Parker::Allocate(this);
1535
1536 #ifndef PRODUCT
1537 _jmp_ring_index = 0;
1538 for (int ji = 0; ji < jump_ring_buffer_size; ji++) {
1539 record_jump(NULL, NULL, NULL, 0);
1540 }
1541 #endif // PRODUCT
1542
1543 // Setup safepoint state info for this thread
|
1503 _pending_deoptimization = -1;
1504 _pending_failed_speculation = 0;
1505 _pending_transfer_to_interpreter = false;
1506 _adjusting_comp_level = false;
1507 _jvmci._alternate_call_target = NULL;
1508 assert(_jvmci._implicit_exception_pc == NULL, "must be");
1509 if (JVMCICounterSize > 0) {
1510 _jvmci_counters = NEW_C_HEAP_ARRAY(jlong, JVMCICounterSize, mtInternal);
1511 memset(_jvmci_counters, 0, sizeof(jlong) * JVMCICounterSize);
1512 } else {
1513 _jvmci_counters = NULL;
1514 }
1515 #endif // INCLUDE_JVMCI
1516 _reserved_stack_activation = NULL; // stack base not known yet
1517 (void)const_cast<oop&>(_exception_oop = oop(NULL));
1518 _exception_pc = 0;
1519 _exception_handler_pc = 0;
1520 _is_method_handle_return = 0;
1521 _jvmti_thread_state= NULL;
1522 _should_post_on_exceptions_flag = JNI_FALSE;
1523 _interp_only_mode = 0;
1524 _special_runtime_exit_condition = _no_async_condition;
1525 _pending_async_exception = NULL;
1526 _thread_stat = NULL;
1527 _thread_stat = new ThreadStatistics();
1528 _blocked_on_compilation = false;
1529 _jni_active_critical = 0;
1530 _pending_jni_exception_check_fn = NULL;
1531 _do_not_unlock_if_synchronized = false;
1532 _cached_monitor_info = NULL;
1533 _parker = Parker::Allocate(this);
1534
1535 #ifndef PRODUCT
1536 _jmp_ring_index = 0;
1537 for (int ji = 0; ji < jump_ring_buffer_size; ji++) {
1538 record_jump(NULL, NULL, NULL, 0);
1539 }
1540 #endif // PRODUCT
1541
1542 // Setup safepoint state info for this thread
|