Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java @ 15843:747bc4099ad8
rename initializeBytecode to getBytecode and eliminate extra copy
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 21 May 2014 22:22:06 -0700 |
parents | 240cc9a901fb |
children | 42eaa579e134 |
comparison
equal
deleted
inserted
replaced
15842:eb947cc7bff9 | 15843:747bc4099ad8 |
---|---|
38 * Copies the original bytecode of a given method into a new byte array and returns it. | 38 * Copies the original bytecode of a given method into a new byte array and returns it. |
39 * | 39 * |
40 * @param metaspaceMethod the metaspace Method object | 40 * @param metaspaceMethod the metaspace Method object |
41 * @return a new byte array containing the original bytecode | 41 * @return a new byte array containing the original bytecode |
42 */ | 42 */ |
43 byte[] initializeBytecode(long metaspaceMethod); | 43 byte[] getBytecode(long metaspaceMethod); |
44 | 44 |
45 int exceptionTableLength(long metaspaceMethod); | 45 int exceptionTableLength(long metaspaceMethod); |
46 | 46 |
47 long exceptionTableStart(long metaspaceMethod); | 47 long exceptionTableStart(long metaspaceMethod); |
48 | 48 |