org.jikesrvm.ia32
Class CodeArray.Factory
java.lang.Object
org.jikesrvm.ia32.CodeArray.Factory
- Enclosing class:
- CodeArray
public static class CodeArray.Factory
- extends Object
A helper class to contain the 'real' methods of CodeArray.
Because Jikes RVM believes that CodeArray is really a Code[]
(i.e., an array of primitives), we cannot define non-hijacked methods
on the 'class' CodeArray.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeArray.Factory
public CodeArray.Factory()
create
public static ArchitectureSpecific.CodeArray create(int numInstrs,
boolean isHot)
- Allocate a code array big enough to contain numInstrs instructions.
- Parameters:
numInstrs
- the number of instructions to copy from instrsisHot
- is this an allocation of code for a hot method?
- Returns:
- a CodeArray containing the instructions