org.jikesrvm.compilers.opt.escape
Class SummaryDatabase

java.lang.Object
  extended by org.jikesrvm.compilers.opt.escape.SummaryDatabase

 class SummaryDatabase
extends Object

Class that holds method summary information. This class is a Singleton.

This database holds summaries:


Field Summary
private static ImmutableEntryHashMapRVM<RVMMethod,MethodSummary> hash
           
 
Constructor Summary
SummaryDatabase()
           
 
Method Summary
static MethodSummary findMethodSummary(RVMMethod m)
          Lookup a given method in the database
static MethodSummary findOrCreateMethodSummary(RVMMethod m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hash

private static final ImmutableEntryHashMapRVM<RVMMethod,MethodSummary> hash
Constructor Detail

SummaryDatabase

SummaryDatabase()
Method Detail

findMethodSummary

public static MethodSummary findMethodSummary(RVMMethod m)
Lookup a given method in the database

Returns:
MethodSummary instance representing method

findOrCreateMethodSummary

public static MethodSummary findOrCreateMethodSummary(RVMMethod m)