mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
This commit is contained in:
parent
f9bbbb6e27
commit
e9c523ae5f
173 changed files with 12881 additions and 5297 deletions
|
@ -88,6 +88,9 @@ class ThreadClosure;
|
|||
class ICRefillVerifier;
|
||||
class IdealGraphPrinter;
|
||||
|
||||
class JVMCIEnv;
|
||||
class JVMCIPrimitiveArray;
|
||||
|
||||
class Metadata;
|
||||
class ResourceArea;
|
||||
|
||||
|
@ -1132,7 +1135,7 @@ class JavaThread: public Thread {
|
|||
|
||||
// An id of a speculation that JVMCI compiled code can use to further describe and
|
||||
// uniquely identify the speculative optimization guarded by the uncommon trap
|
||||
long _pending_failed_speculation;
|
||||
jlong _pending_failed_speculation;
|
||||
|
||||
// These fields are mutually exclusive in terms of live ranges.
|
||||
union {
|
||||
|
@ -1149,7 +1152,7 @@ class JavaThread: public Thread {
|
|||
|
||||
public:
|
||||
static jlong* _jvmci_old_thread_counters;
|
||||
static void collect_counters(typeArrayOop array);
|
||||
static void collect_counters(JVMCIEnv* JVMCIENV, JVMCIPrimitiveArray array);
|
||||
private:
|
||||
#endif // INCLUDE_JVMCI
|
||||
|
||||
|
@ -1532,11 +1535,11 @@ class JavaThread: public Thread {
|
|||
|
||||
#if INCLUDE_JVMCI
|
||||
int pending_deoptimization() const { return _pending_deoptimization; }
|
||||
long pending_failed_speculation() const { return _pending_failed_speculation; }
|
||||
jlong pending_failed_speculation() const { return _pending_failed_speculation; }
|
||||
bool has_pending_monitorenter() const { return _pending_monitorenter; }
|
||||
void set_pending_monitorenter(bool b) { _pending_monitorenter = b; }
|
||||
void set_pending_deoptimization(int reason) { _pending_deoptimization = reason; }
|
||||
void set_pending_failed_speculation(long failed_speculation) { _pending_failed_speculation = failed_speculation; }
|
||||
void set_pending_failed_speculation(jlong failed_speculation) { _pending_failed_speculation = failed_speculation; }
|
||||
void set_pending_transfer_to_interpreter(bool b) { _pending_transfer_to_interpreter = b; }
|
||||
void set_jvmci_alternate_call_target(address a) { assert(_jvmci._alternate_call_target == NULL, "must be"); _jvmci._alternate_call_target = a; }
|
||||
void set_jvmci_implicit_exception_pc(address a) { assert(_jvmci._implicit_exception_pc == NULL, "must be"); _jvmci._implicit_exception_pc = a; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue