Mercurial > hg > truffle
comparison src/os/solaris/dtrace/jhelper.d @ 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. |
116 | 116 |
117 copyin_offset(OFFSET_Symbol_length); | 117 copyin_offset(OFFSET_Symbol_length); |
118 copyin_offset(OFFSET_Symbol_body); | 118 copyin_offset(OFFSET_Symbol_body); |
119 | 119 |
120 copyin_offset(OFFSET_methodOopDesc_constMethod); | 120 copyin_offset(OFFSET_methodOopDesc_constMethod); |
121 copyin_offset(OFFSET_methodOopDesc_constants); | 121 copyin_offset(OFFSET_constMethodOopDesc_constants); |
122 copyin_offset(OFFSET_constMethodOopDesc_name_index); | 122 copyin_offset(OFFSET_constMethodOopDesc_name_index); |
123 copyin_offset(OFFSET_constMethodOopDesc_signature_index); | 123 copyin_offset(OFFSET_constMethodOopDesc_signature_index); |
124 | 124 |
125 copyin_offset(OFFSET_CodeHeap_memory); | 125 copyin_offset(OFFSET_CodeHeap_memory); |
126 copyin_offset(OFFSET_CodeHeap_segmap); | 126 copyin_offset(OFFSET_CodeHeap_segmap); |
357 OFFSET_constMethodOopDesc_name_index); | 357 OFFSET_constMethodOopDesc_name_index); |
358 | 358 |
359 this->signatureIndex = copyin_uint16(this->constMethod + | 359 this->signatureIndex = copyin_uint16(this->constMethod + |
360 OFFSET_constMethodOopDesc_signature_index); | 360 OFFSET_constMethodOopDesc_signature_index); |
361 | 361 |
362 this->constantPool = copyin_ptr(this->methodOopPtr + | 362 this->constantPool = copyin_ptr(this->constMethod + |
363 OFFSET_methodOopDesc_constants); | 363 OFFSET_constMethodOopDesc_constants); |
364 | 364 |
365 this->nameSymbol = copyin_ptr(this->constantPool + | 365 this->nameSymbol = copyin_ptr(this->constantPool + |
366 this->nameIndex * sizeof (pointer) + SIZE_constantPoolOopDesc); | 366 this->nameIndex * sizeof (pointer) + SIZE_constantPoolOopDesc); |
367 | 367 |
368 this->nameSymbolLength = copyin_uint16(this->nameSymbol + | 368 this->nameSymbolLength = copyin_uint16(this->nameSymbol + |