comparison src/share/vm/runtime/thread.cpp @ 22465:b14500c9da22

documented JVMCI-specific _implicit_exception_pc and _alternate_call_target fields in JavaThread and prepared for them to be in a union
author Doug Simon <doug.simon@oracle.com>
date Tue, 25 Aug 2015 14:34:50 +0200
parents f27c163d7dc2
children f58e7b5fe0ab
comparison
equal deleted inserted replaced
22464:3fb432661d59 22465:b14500c9da22
1486 #if INCLUDE_JVMCI 1486 #if INCLUDE_JVMCI
1487 _pending_monitorenter = false; 1487 _pending_monitorenter = false;
1488 _pending_deoptimization = -1; 1488 _pending_deoptimization = -1;
1489 _pending_failed_speculation = NULL; 1489 _pending_failed_speculation = NULL;
1490 _pending_transfer_to_interpreter = false; 1490 _pending_transfer_to_interpreter = false;
1491 _jvmci_alternate_call_target = NULL; 1491 _jvmci._alternate_call_target = NULL;
1492 _jvmci_implicit_exception_pc = NULL; 1492 // TODO: If _jvmci becomes a union, then this assignment
1493 // should be converted to an assertion or guarantee
1494 _jvmci._implicit_exception_pc = NULL;
1493 if (JVMCICounterSize > 0) { 1495 if (JVMCICounterSize > 0) {
1494 _jvmci_counters = NEW_C_HEAP_ARRAY(jlong, JVMCICounterSize, mtInternal); 1496 _jvmci_counters = NEW_C_HEAP_ARRAY(jlong, JVMCICounterSize, mtInternal);
1495 memset(_jvmci_counters, 0, sizeof(jlong) * JVMCICounterSize); 1497 memset(_jvmci_counters, 0, sizeof(jlong) * JVMCICounterSize);
1496 } else { 1498 } else {
1497 _jvmci_counters = NULL; 1499 _jvmci_counters = NULL;