mirror of
https://github.com/corda/corda.git
synced 2025-01-10 06:52:44 +00:00
35 lines
598 B
C
35 lines
598 B
C
|
namespace vm {
|
||
|
|
||
|
class BootImage {
|
||
|
public:
|
||
|
static const unsigned Magic = 0x22377322;
|
||
|
|
||
|
unsigned magic;
|
||
|
|
||
|
unsigned heapSize;
|
||
|
unsigned codeSize;
|
||
|
|
||
|
unsigned codeTable;
|
||
|
|
||
|
unsigned loader;
|
||
|
unsigned bootstrapClassMap;
|
||
|
unsigned stringMap;
|
||
|
unsigned types;
|
||
|
unsigned jniMethodTable;
|
||
|
unsigned finalizers;
|
||
|
unsigned tenuredFinalizers;
|
||
|
unsigned finalizeQueue;
|
||
|
unsigned weakReferences;
|
||
|
unsigned tenuredWeakReferences;
|
||
|
|
||
|
unsigned defaultThunk;
|
||
|
unsigned nativeThunk;
|
||
|
unsigned aioobThunk;
|
||
|
|
||
|
#define THUNK(s) unsigned s##Thunk;
|
||
|
#include "thunks.cpp"
|
||
|
#undef THUNK
|
||
|
};
|
||
|
|
||
|
} // namespace vm
|