8136421: JEP 243: Java-Level JVM Compiler Interface

Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
This commit is contained in:
Christian Thalinger 2015-10-08 12:49:30 -10:00
parent f5b4bb46f5
commit 16526e000e
505 changed files with 50394 additions and 915 deletions

View file

@ -95,6 +95,11 @@ typedef struct {
uint64_t value; // Value of constant
} VMLongConstantEntry;
typedef struct {
const char* name; // Name of address (example: "SharedRuntime::register_finalizer")
void* value; // Value of address
} VMAddressEntry;
// This class is a friend of most classes, to be able to access
// private fields
class VMStructs {
@ -117,6 +122,11 @@ public:
// the fact that it has a NULL typeName
static VMLongConstantEntry localHotSpotVMLongConstants[];
/**
* Table of addresses.
*/
static VMAddressEntry localHotSpotVMAddresses[];
// This is used to run any checking code necessary for validation of
// the data structure (debug build only)
static void init();