org.jikesrvm.adaptive.util
Class DynamicCallFileInfoReader
java.lang.Object
org.jikesrvm.adaptive.util.DynamicCallFileInfoReader
public class DynamicCallFileInfoReader
- extends Object
Utility to read dynamic call graph annotations from file in ascii format.
Takes a single argument: the name of the file containing the ascii
annotations. Each line of the file corresponds to an annotation
for one method and has the following format:
CallSite < classloader, classname, method, signature> method_size byte_code_index method_size weight: weight
Where the types and meanings of the fields is as follows:
<signature> string The method signature
- See Also:
CompilerAdvice
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicCallFileInfoReader
public DynamicCallFileInfoReader()
readDynamicCallFile
public static void readDynamicCallFile(String file,
boolean boot)
- Read annoations from a specified file. Reads all annotations at
once and returns a collection of compiler advice attributes.
- Parameters:
file - The annoation file to be read
readOneCallSiteAttribute
private static void readOneCallSiteAttribute(StringTokenizer parser,
boolean boot)