|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectplay.classloading.BytecodeCache
public class BytecodeCache
Used to speed up compilation time
| 构造方法摘要 | |
|---|---|
BytecodeCache()
|
|
| 方法摘要 | |
|---|---|
static void |
cacheBytecode(byte[] byteCode,
java.lang.String name,
java.lang.String source)
Cache the bytecode |
static void |
deleteBytecode(java.lang.String name)
Delete the bytecode |
static byte[] |
getBytecode(java.lang.String name,
java.lang.String source)
Retrieve the bytecode if source has not changed |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public BytecodeCache()
| 方法详细信息 |
|---|
public static void deleteBytecode(java.lang.String name)
name - Cache name
public static byte[] getBytecode(java.lang.String name,
java.lang.String source)
name - The cache namesource - The source code
public static void cacheBytecode(byte[] byteCode,
java.lang.String name,
java.lang.String source)
byteCode - The bytecodename - The cache namesource - The corresponding source
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||