1 /*
2 * Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
590 /***************************************/ \
591 /* PcDesc and other compiled code info */ \
592 /***************************************/ \
593 \
594 nonstatic_field(PcDesc, _pc_offset, int) \
595 nonstatic_field(PcDesc, _scope_decode_offset, int) \
596 nonstatic_field(PcDesc, _obj_decode_offset, int) \
597 nonstatic_field(PcDesc, _flags, PcDesc::PcDescFlags) \
598 \
599 /***************************************************/ \
600 /* CodeBlobs (NOTE: incomplete, but only a little) */ \
601 /***************************************************/ \
602 \
603 nonstatic_field(CodeBlob, _name, const char*) \
604 nonstatic_field(CodeBlob, _size, int) \
605 nonstatic_field(CodeBlob, _header_size, int) \
606 nonstatic_field(CodeBlob, _relocation_size, int) \
607 nonstatic_field(CodeBlob, _instructions_offset, int) \
608 nonstatic_field(CodeBlob, _frame_complete_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) \
613 nonstatic_field(CodeBlob, _oop_maps, OopMapSet*) \
614 \
615 /**************************************************/ \
616 /* NMethods (NOTE: incomplete, but only a little) */ \
617 /**************************************************/ \
618 \
619 static_field(nmethod, _zombie_instruction_size, int) \
620 nonstatic_field(nmethod, _method, methodOop) \
621 nonstatic_field(nmethod, _entry_bci, int) \
622 nonstatic_field(nmethod, _osr_link, nmethod*) \
623 nonstatic_field(nmethod, _scavenge_root_link, nmethod*) \
624 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \
625 nonstatic_field(nmethod, _exception_offset, int) \
626 nonstatic_field(nmethod, _deoptimize_offset, int) \
627 nonstatic_field(nmethod, _orig_pc_offset, int) \
628 nonstatic_field(nmethod, _stub_offset, int) \
629 nonstatic_field(nmethod, _scopes_data_offset, int) \
630 nonstatic_field(nmethod, _scopes_pcs_offset, int) \
631 nonstatic_field(nmethod, _dependencies_offset, int) \
632 nonstatic_field(nmethod, _handler_table_offset, int) \
633 nonstatic_field(nmethod, _nul_chk_table_offset, int) \
634 nonstatic_field(nmethod, _nmethod_end_offset, int) \
635 nonstatic_field(nmethod, _entry_point, address) \
636 nonstatic_field(nmethod, _verified_entry_point, address) \
637 nonstatic_field(nmethod, _osr_entry_point, address) \
638 nonstatic_field(nmethod, _lock_count, jint) \
639 nonstatic_field(nmethod, _stack_traversal_mark, long) \
640 \
641 /********************************/ \
642 /* JavaCalls (NOTE: incomplete) */ \
643 /********************************/ \
644 \
645 nonstatic_field(JavaCallWrapper, _anchor, JavaFrameAnchor) \
646 /********************************/ \
647 /* JavaFrameAnchor (NOTE: incomplete) */ \
648 /********************************/ \
|
1 /*
2 * Copyright 2000-2010 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
590 /***************************************/ \
591 /* PcDesc and other compiled code info */ \
592 /***************************************/ \
593 \
594 nonstatic_field(PcDesc, _pc_offset, int) \
595 nonstatic_field(PcDesc, _scope_decode_offset, int) \
596 nonstatic_field(PcDesc, _obj_decode_offset, int) \
597 nonstatic_field(PcDesc, _flags, PcDesc::PcDescFlags) \
598 \
599 /***************************************************/ \
600 /* CodeBlobs (NOTE: incomplete, but only a little) */ \
601 /***************************************************/ \
602 \
603 nonstatic_field(CodeBlob, _name, const char*) \
604 nonstatic_field(CodeBlob, _size, int) \
605 nonstatic_field(CodeBlob, _header_size, int) \
606 nonstatic_field(CodeBlob, _relocation_size, int) \
607 nonstatic_field(CodeBlob, _instructions_offset, int) \
608 nonstatic_field(CodeBlob, _frame_complete_offset, int) \
609 nonstatic_field(CodeBlob, _data_offset, int) \
610 nonstatic_field(CodeBlob, _frame_size, int) \
611 nonstatic_field(CodeBlob, _oop_maps, OopMapSet*) \
612 \
613 /**************************************************/ \
614 /* NMethods (NOTE: incomplete, but only a little) */ \
615 /**************************************************/ \
616 \
617 static_field(nmethod, _zombie_instruction_size, int) \
618 nonstatic_field(nmethod, _method, methodOop) \
619 nonstatic_field(nmethod, _entry_bci, int) \
620 nonstatic_field(nmethod, _osr_link, nmethod*) \
621 nonstatic_field(nmethod, _scavenge_root_link, nmethod*) \
622 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \
623 nonstatic_field(nmethod, _exception_offset, int) \
624 nonstatic_field(nmethod, _deoptimize_offset, int) \
625 nonstatic_field(nmethod, _orig_pc_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) \
630 nonstatic_field(nmethod, _scopes_pcs_offset, int) \
631 nonstatic_field(nmethod, _dependencies_offset, int) \
632 nonstatic_field(nmethod, _handler_table_offset, int) \
633 nonstatic_field(nmethod, _nul_chk_table_offset, int) \
634 nonstatic_field(nmethod, _nmethod_end_offset, int) \
635 nonstatic_field(nmethod, _entry_point, address) \
636 nonstatic_field(nmethod, _verified_entry_point, address) \
637 nonstatic_field(nmethod, _osr_entry_point, address) \
638 nonstatic_field(nmethod, _lock_count, jint) \
639 nonstatic_field(nmethod, _stack_traversal_mark, long) \
640 \
641 /********************************/ \
642 /* JavaCalls (NOTE: incomplete) */ \
643 /********************************/ \
644 \
645 nonstatic_field(JavaCallWrapper, _anchor, JavaFrameAnchor) \
646 /********************************/ \
647 /* JavaFrameAnchor (NOTE: incomplete) */ \
648 /********************************/ \
|