public static class World.TypeMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
addedSinceLastDemote |
static int |
DONT_USE_REFS |
int |
policy |
static int |
USE_SOFT_REFS |
static int |
USE_WEAK_REFS |
static boolean |
useExpendableMap |
java.util.List<java.lang.String> |
writtenClasses |
Modifier and Type | Method and Description |
---|---|
void |
checkq() |
void |
classWriteEvent(java.lang.String classname) |
int |
demote() |
int |
demote(boolean atEndOfCompile)
Go through any types added during the previous file weave.
|
void |
demote(ResolvedType type) |
ResolvedType |
get(java.lang.String key)
Lookup a type by its signature, always look in the real map before the expendable map
|
java.util.Map<java.lang.String,java.lang.ref.Reference<ResolvedType>> |
getExpendableMap() |
java.util.Map<java.lang.String,ResolvedType> |
getMainMap() |
ResolvedType |
put(java.lang.String key,
ResolvedType type)
Add a new type into the map, the key is the type signature.
|
ResolvedType |
remove(java.lang.String key)
Remove a type from the map
|
void |
report() |
public static final int DONT_USE_REFS
public static final int USE_WEAK_REFS
public static final int USE_SOFT_REFS
public java.util.List<java.lang.String> addedSinceLastDemote
public java.util.List<java.lang.String> writtenClasses
public static boolean useExpendableMap
public int policy
public java.util.Map<java.lang.String,java.lang.ref.Reference<ResolvedType>> getExpendableMap()
public java.util.Map<java.lang.String,ResolvedType> getMainMap()
public int demote()
public int demote(boolean atEndOfCompile)
public ResolvedType put(java.lang.String key, ResolvedType type)
public void report()
public void checkq()
public ResolvedType get(java.lang.String key)
public ResolvedType remove(java.lang.String key)
public void classWriteEvent(java.lang.String classname)
public void demote(ResolvedType type)