|
void GcRecordFree(Thread * self, mirror::Object * object) { |
|
if (!swapEnabled) { |
|
return; |
|
} |
|
|
|
/* |
|
* The correctness of this check depends on upon several assumptions: |
|
* 1) Only the garbage collectors and my swapping code call Free() on the |
|
* RosAlloc space and large object space. |
|
* 2) The garbage collectors never run concurrently with any swapping |
|
* methods that free objects or stubs as part of swapping (currently, |
|
* the only such method is SwapObjectsOut()). |
|
*/ |
|
if (creatingStubs) { |
|
return; |
|
} |
|
|
|
if (swappedInSpace->Contains(object)) { |
|
return; |
|
} |
I think it may be missing a ! in front of swappedInSpace->Contains(object) in line 1036
marvin-art/runtime/marvin_swap.cc
Lines 1019 to 1038 in 2c1c1d7
I think it may be missing a
!in front ofswappedInSpace->Contains(object)in line 1036