comparison src/share/vm/graal/graalJavaAccess.cpp @ 10475:3489047ffea2

Restructure the handling of HotSpotInstalledCode and their link to nmethods.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 21 Jun 2013 18:26:52 +0200
parents ed6202820ecf
children 2c940b1a48d8
comparison
equal deleted inserted replaced
10474:55827d611da7 10475:3489047ffea2
61 #define STATIC_OOP_FIELD(klass, name, signature) FIELD(klass, name, signature, true) 61 #define STATIC_OOP_FIELD(klass, name, signature) FIELD(klass, name, signature, true)
62 62
63 63
64 void graal_compute_offsets() { 64 void graal_compute_offsets() {
65 COMPILER_CLASSES_DO(START_CLASS, END_CLASS, CHAR_FIELD, INT_FIELD, BOOLEAN_FIELD, LONG_FIELD, FLOAT_FIELD, OOP_FIELD, STATIC_OOP_FIELD) 65 COMPILER_CLASSES_DO(START_CLASS, END_CLASS, CHAR_FIELD, INT_FIELD, BOOLEAN_FIELD, LONG_FIELD, FLOAT_FIELD, OOP_FIELD, STATIC_OOP_FIELD)
66 guarantee(HotSpotInstalledCode::_codeBlob_offset == sizeof(oopDesc), "codeBlob must be first field!");
66 } 67 }
67 68
68 #define EMPTY0 69 #define EMPTY0
69 #define EMPTY1(x) 70 #define EMPTY1(x)
70 #define EMPTY2(x,y) 71 #define EMPTY2(x,y)