aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-01-23 15:58:31 -0800
committerCarl Shapiro <cshapiro@google.com>2011-01-23 16:02:16 -0800
commita371fad368c4d697b2906079bfbe8059269ed362 (patch)
treea9ec6e970865f276ebdc5fa9d81c35399acaf8e8 /vm/compiler/codegen/arm/CodegenDriver.c
parent6ff6ec6b6361db707e4b0318075fc38dd319a49a (diff)
Replace collect with clear for the SoftReference policy.
The garbage collector is invoked with a parameter that changes the SoftReference clearing policy. This parameter is normally false, meaning the garbage collector will attempt to preserve some softly-reachable referents of SoftReference instances. When true, the garbage collector will treat SoftReference instances as WeakReference instances and always clearly referent fields with softly-reachable referents. The code refers to this action as collecting soft references which is misleading. The change to the garbage collector policy has an effect on the referent field of SoftReference instances and any SoftReference instance which is unreachable is subject collection like any other object. With this change we now use the description clearing soft refernces to describe the policy. Bug: 3381480 Change-Id: Ie179514e68d4621237b08658c1c55811a49f1210
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions