equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, 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. |
231 // index into InstanceKlass methods() array |
231 // index into InstanceKlass methods() array |
232 // note: also used by jfr |
232 // note: also used by jfr |
233 u2 method_idnum() const { return constMethod()->method_idnum(); } |
233 u2 method_idnum() const { return constMethod()->method_idnum(); } |
234 void set_method_idnum(u2 idnum) { constMethod()->set_method_idnum(idnum); } |
234 void set_method_idnum(u2 idnum) { constMethod()->set_method_idnum(idnum); } |
235 |
235 |
|
236 u2 orig_method_idnum() const { return constMethod()->orig_method_idnum(); } |
|
237 void set_orig_method_idnum(u2 idnum) { constMethod()->set_orig_method_idnum(idnum); } |
|
238 |
236 // code size |
239 // code size |
237 int code_size() const { return constMethod()->code_size(); } |
240 int code_size() const { return constMethod()->code_size(); } |
238 |
241 |
239 // method size |
242 // method size |
240 int method_size() const { return _method_size; } |
243 int method_size() const { return _method_size; } |