Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalJavaAccess.cpp Fri Jun 21 17:52:19 2013 +0200 +++ b/src/share/vm/graal/graalJavaAccess.cpp Fri Jun 21 18:26:52 2013 +0200 @@ -63,6 +63,7 @@ void graal_compute_offsets() { COMPILER_CLASSES_DO(START_CLASS, END_CLASS, CHAR_FIELD, INT_FIELD, BOOLEAN_FIELD, LONG_FIELD, FLOAT_FIELD, OOP_FIELD, STATIC_OOP_FIELD) + guarantee(HotSpotInstalledCode::_codeBlob_offset == sizeof(oopDesc), "codeBlob must be first field!"); } #define EMPTY0