org.jikesrvm.compilers.opt
Class FieldDatabase

java.lang.Object
  extended by org.jikesrvm.compilers.opt.FieldDatabase

final class FieldDatabase
extends Object

database to hold field-level information this is a mapping from RVMField -> FieldDatabaseEntry


Nested Class Summary
(package private) static class FieldDatabase.FieldDatabaseEntry
          A data structure holding information about a field.
(package private) static class FieldDatabase.FieldWriterInfo
          A data structure holding information about a particular <method,field> combination, where the method may write the field.
 
Field Summary
private  ImmutableEntryHashMapRVM<RVMField,FieldDatabase.FieldDatabaseEntry> db
           
private static boolean DEBUG
           
 
Constructor Summary
FieldDatabase()
           
 
Method Summary
private static void debug(String s)
           
(package private)  FieldDatabase.FieldDatabaseEntry findOrCreateEntry(RVMField f)
           
 TypeReference getConcreteType(RVMField f)
          return the concrete type of a field, or null if none determined
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG
See Also:
Constant Field Values

db

private final ImmutableEntryHashMapRVM<RVMField,FieldDatabase.FieldDatabaseEntry> db
Constructor Detail

FieldDatabase

FieldDatabase()
Method Detail

findOrCreateEntry

FieldDatabase.FieldDatabaseEntry findOrCreateEntry(RVMField f)

getConcreteType

public TypeReference getConcreteType(RVMField f)
return the concrete type of a field, or null if none determined


debug

private static void debug(String s)