1 /*
2 * Copyright 2003-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 *
215 GEN_OFFS(constMethodOopDesc, _code_size);
216 GEN_OFFS(constMethodOopDesc, _name_index);
217 GEN_OFFS(constMethodOopDesc, _signature_index);
218 printf("\n");
219
220 GEN_OFFS(CodeHeap, _memory);
221 GEN_OFFS(CodeHeap, _segmap);
222 GEN_OFFS(CodeHeap, _log2_segment_size);
223 printf("\n");
224
225 GEN_OFFS(VirtualSpace, _low_boundary);
226 GEN_OFFS(VirtualSpace, _high_boundary);
227 GEN_OFFS(VirtualSpace, _low);
228 GEN_OFFS(VirtualSpace, _high);
229 printf("\n");
230
231 GEN_OFFS(CodeBlob, _name);
232 GEN_OFFS(CodeBlob, _header_size);
233 GEN_OFFS(CodeBlob, _instructions_offset);
234 GEN_OFFS(CodeBlob, _data_offset);
235 GEN_OFFS(CodeBlob, _oops_offset);
236 GEN_OFFS(CodeBlob, _oops_length);
237 GEN_OFFS(CodeBlob, _frame_size);
238 printf("\n");
239
240 GEN_OFFS(nmethod, _method);
241 GEN_OFFS(nmethod, _scopes_data_offset);
242 GEN_OFFS(nmethod, _scopes_pcs_offset);
243 GEN_OFFS(nmethod, _handler_table_offset);
244 GEN_OFFS(nmethod, _deoptimize_offset);
245 GEN_OFFS(nmethod, _orig_pc_offset);
246
247 GEN_OFFS(PcDesc, _pc_offset);
248 GEN_OFFS(PcDesc, _scope_decode_offset);
249
250 printf("\n");
251
252 GEN_OFFS(NarrowOopStruct, _base);
253 GEN_OFFS(NarrowOopStruct, _shift);
254 printf("\n");
255
256 GEN_VALUE(SIZE_HeapBlockHeader, sizeof(HeapBlock::Header));
257 GEN_SIZE(oopDesc);
258 GEN_SIZE(constantPoolOopDesc);
259 printf("\n");
260
|
1 /*
2 * Copyright 2003-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 *
215 GEN_OFFS(constMethodOopDesc, _code_size);
216 GEN_OFFS(constMethodOopDesc, _name_index);
217 GEN_OFFS(constMethodOopDesc, _signature_index);
218 printf("\n");
219
220 GEN_OFFS(CodeHeap, _memory);
221 GEN_OFFS(CodeHeap, _segmap);
222 GEN_OFFS(CodeHeap, _log2_segment_size);
223 printf("\n");
224
225 GEN_OFFS(VirtualSpace, _low_boundary);
226 GEN_OFFS(VirtualSpace, _high_boundary);
227 GEN_OFFS(VirtualSpace, _low);
228 GEN_OFFS(VirtualSpace, _high);
229 printf("\n");
230
231 GEN_OFFS(CodeBlob, _name);
232 GEN_OFFS(CodeBlob, _header_size);
233 GEN_OFFS(CodeBlob, _instructions_offset);
234 GEN_OFFS(CodeBlob, _data_offset);
235 GEN_OFFS(CodeBlob, _frame_size);
236 printf("\n");
237
238 GEN_OFFS(nmethod, _method);
239 GEN_OFFS(nmethod, _oops_offset);
240 GEN_OFFS(nmethod, _scopes_data_offset);
241 GEN_OFFS(nmethod, _scopes_pcs_offset);
242 GEN_OFFS(nmethod, _handler_table_offset);
243 GEN_OFFS(nmethod, _deoptimize_offset);
244 GEN_OFFS(nmethod, _orig_pc_offset);
245
246 GEN_OFFS(PcDesc, _pc_offset);
247 GEN_OFFS(PcDesc, _scope_decode_offset);
248
249 printf("\n");
250
251 GEN_OFFS(NarrowOopStruct, _base);
252 GEN_OFFS(NarrowOopStruct, _shift);
253 printf("\n");
254
255 GEN_VALUE(SIZE_HeapBlockHeader, sizeof(HeapBlock::Header));
256 GEN_SIZE(oopDesc);
257 GEN_SIZE(constantPoolOopDesc);
258 printf("\n");
259
|