aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-02-02 18:20:08 -0800
committerCarl Shapiro <cshapiro@google.com>2011-02-02 18:41:04 -0800
commit8bb6104795c7b31abf76ae4325b416d6c1caa17f (patch)
tree372e21e072b360c192c6f4880bb96365e2cb57a7 /vm/compiler/codegen/arm/CodegenDriver.c
parentf67b6afce08a6b9b5daf7d4d69e132fda07bc78f (diff)
Do not write to an unmarked object when freeing its monitor.
Previously, the monitor sweep routine cleared the lock word of every unmarked object with an inflated lock to ensure than an errant code would not observe a dangling pointer. It is not clear this has bought us much safety or debuggability. In the mean time, the process of freeing an object did not always require the object itself to be touched. Removing this write removes an opportunity for a cache miss during the final pause of a GC. Change-Id: I85928b73356d6a9b6c51f7dafc4657ace1c94335
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions