Mercurial > hg > truffle
comparison src/share/vm/runtime/vmStructs.cpp @ 1563:1a5913bf5e19
6951083: oops and relocations should part of nmethod not CodeBlob
Summary: This moves the oops from Codeblob to nmethod.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Thu, 20 May 2010 06:34:23 -0700 |
parents | 7b0e9cba0307 |
children | 2d127394260e |
comparison
equal
deleted
inserted
replaced
1544:1a88d3c58e1d | 1563:1a5913bf5e19 |
---|---|
1 /* | 1 /* |
2 * Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 2000-2010 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
605 nonstatic_field(CodeBlob, _header_size, int) \ | 605 nonstatic_field(CodeBlob, _header_size, int) \ |
606 nonstatic_field(CodeBlob, _relocation_size, int) \ | 606 nonstatic_field(CodeBlob, _relocation_size, int) \ |
607 nonstatic_field(CodeBlob, _instructions_offset, int) \ | 607 nonstatic_field(CodeBlob, _instructions_offset, int) \ |
608 nonstatic_field(CodeBlob, _frame_complete_offset, int) \ | 608 nonstatic_field(CodeBlob, _frame_complete_offset, int) \ |
609 nonstatic_field(CodeBlob, _data_offset, int) \ | 609 nonstatic_field(CodeBlob, _data_offset, int) \ |
610 nonstatic_field(CodeBlob, _oops_offset, int) \ | |
611 nonstatic_field(CodeBlob, _oops_length, int) \ | |
612 nonstatic_field(CodeBlob, _frame_size, int) \ | 610 nonstatic_field(CodeBlob, _frame_size, int) \ |
613 nonstatic_field(CodeBlob, _oop_maps, OopMapSet*) \ | 611 nonstatic_field(CodeBlob, _oop_maps, OopMapSet*) \ |
614 \ | 612 \ |
615 /**************************************************/ \ | 613 /**************************************************/ \ |
616 /* NMethods (NOTE: incomplete, but only a little) */ \ | 614 /* NMethods (NOTE: incomplete, but only a little) */ \ |
624 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \ | 622 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \ |
625 nonstatic_field(nmethod, _exception_offset, int) \ | 623 nonstatic_field(nmethod, _exception_offset, int) \ |
626 nonstatic_field(nmethod, _deoptimize_offset, int) \ | 624 nonstatic_field(nmethod, _deoptimize_offset, int) \ |
627 nonstatic_field(nmethod, _orig_pc_offset, int) \ | 625 nonstatic_field(nmethod, _orig_pc_offset, int) \ |
628 nonstatic_field(nmethod, _stub_offset, int) \ | 626 nonstatic_field(nmethod, _stub_offset, int) \ |
627 nonstatic_field(nmethod, _consts_offset, int) \ | |
628 nonstatic_field(nmethod, _oops_offset, int) \ | |
629 nonstatic_field(nmethod, _scopes_data_offset, int) \ | 629 nonstatic_field(nmethod, _scopes_data_offset, int) \ |
630 nonstatic_field(nmethod, _scopes_pcs_offset, int) \ | 630 nonstatic_field(nmethod, _scopes_pcs_offset, int) \ |
631 nonstatic_field(nmethod, _dependencies_offset, int) \ | 631 nonstatic_field(nmethod, _dependencies_offset, int) \ |
632 nonstatic_field(nmethod, _handler_table_offset, int) \ | 632 nonstatic_field(nmethod, _handler_table_offset, int) \ |
633 nonstatic_field(nmethod, _nul_chk_table_offset, int) \ | 633 nonstatic_field(nmethod, _nul_chk_table_offset, int) \ |