comparison src/os/solaris/dtrace/generateJvmOffsets.cpp @ 6123:2fe087c3e814

7172967: Eliminate constMethod's _method backpointer to methodOop. Summary: Eliminate constMethod's _method backpointer to methodOop, and move the _constant field from methodOop to constMethod. Reviewed-by: roland, bdelsart, kamg
author jiangli
date Wed, 06 Jun 2012 14:33:43 -0400
parents 1d1603768966
children da91efe96a93
comparison
equal deleted inserted replaced
6115:6e2633440960 6123:2fe087c3e814
1 /* 1 /*
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. 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.
218 GEN_OFFS(Symbol, _length); 218 GEN_OFFS(Symbol, _length);
219 GEN_OFFS(Symbol, _body); 219 GEN_OFFS(Symbol, _body);
220 printf("\n"); 220 printf("\n");
221 221
222 GEN_OFFS(methodOopDesc, _constMethod); 222 GEN_OFFS(methodOopDesc, _constMethod);
223 GEN_OFFS(methodOopDesc, _constants);
224 GEN_OFFS(methodOopDesc, _access_flags); 223 GEN_OFFS(methodOopDesc, _access_flags);
225 printf("\n"); 224 printf("\n");
226 225
226 GEN_OFFS(constMethodOopDesc, _constants);
227 GEN_OFFS(constMethodOopDesc, _flags); 227 GEN_OFFS(constMethodOopDesc, _flags);
228 GEN_OFFS(constMethodOopDesc, _code_size); 228 GEN_OFFS(constMethodOopDesc, _code_size);
229 GEN_OFFS(constMethodOopDesc, _name_index); 229 GEN_OFFS(constMethodOopDesc, _name_index);
230 GEN_OFFS(constMethodOopDesc, _signature_index); 230 GEN_OFFS(constMethodOopDesc, _signature_index);
231 printf("\n"); 231 printf("\n");