aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authorAndy Clement <aclement@vmware.com>2012-03-02 14:31:45 -0800
committerAndy Clement <aclement@vmware.com>2012-03-02 14:31:45 -0800
commiteec87199cd0fbba7a16a63b7db61d3a0a0fd58c6 (patch)
tree50e06ee16ac626abab66eea22f6507fb9207ba4d /org.aspectj.matcher
parentd4a8cc90482cb538a88f74a9aae99a323e547c84 (diff)
parent0cf0cb2dfb690891fe5eb7f4219e383ed666a0fc (diff)
downloadaspectj-eec87199cd0fbba7a16a63b7db61d3a0a0fd58c6.tar.gz
aspectj-eec87199cd0fbba7a16a63b7db61d3a0a0fd58c6.zip
373130: transient tjps
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/World.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/World.java b/org.aspectj.matcher/src/org/aspectj/weaver/World.java
index 9821f9ad5..ba0fa3a1f 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/World.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/World.java
@@ -132,6 +132,7 @@ public abstract class World implements Dump.INode {
private boolean synchronizationPointcutsInUse = false;
// Xset'table options
private boolean runMinimalMemory = false;
+ private boolean transientTjpFields = false;
private boolean runMinimalMemorySet = false;
private boolean shouldPipelineCompilation = true;
private boolean shouldGenerateStackMaps = false;
@@ -944,6 +945,7 @@ public abstract class World implements Dump.INode {
// false
public final static String xsetDEBUG_BRIDGING = "debugBridging"; // default
// false
+ public final static String xsetTRANSIENT_TJP_FIELDS = "makeTjpFieldsTransient"; // default false
public final static String xsetBCEL_REPOSITORY_CACHING = "bcelRepositoryCaching";
public final static String xsetPIPELINE_COMPILATION = "pipelineCompilation";
public final static String xsetGENERATE_STACKMAPS = "generateStackMaps";
@@ -1615,6 +1617,9 @@ public abstract class World implements Dump.INode {
s = p.getProperty(xsetDEBUG_STRUCTURAL_CHANGES_CODE, "false");
forDEBUG_structuralChangesCode = s.equalsIgnoreCase("true");
+
+ s = p.getProperty(xsetTRANSIENT_TJP_FIELDS,"false");
+ transientTjpFields = s.equalsIgnoreCase("true");
s = p.getProperty(xsetDEBUG_BRIDGING, "false");
forDEBUG_bridgingCode = s.equalsIgnoreCase("true");
@@ -1669,6 +1674,11 @@ public abstract class World implements Dump.INode {
ensureAdvancedConfigurationProcessed();
return runMinimalMemory;
}
+
+ public boolean isTransientTjpFields() {
+ ensureAdvancedConfigurationProcessed();
+ return transientTjpFields;
+ }
public boolean isRunMinimalMemorySet() {
ensureAdvancedConfigurationProcessed();