Skip to content

Commit

Permalink
Merge pull request #4729 from gacholio/compress
Browse files Browse the repository at this point in the history
Runtime compressed refs work
  • Loading branch information
rwy7 authored Jan 17, 2020
2 parents 8a8b562 + 1a7fa89 commit d7dfd82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc/base/IndexableObjectScanner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class GC_IndexableObjectScanner : public GC_ObjectScanner
, _elementSize(elementSize)
{
_typeId = __FUNCTION__;
if ((endPtr - scanPtr) <= _bitsPerScanMap) {
if (GC_SlotObject::subtractSlotAddresses(endPtr, scanPtr, env->compressObjectReferences()) <= _bitsPerScanMap) {
setNoMoreSlots();
}
}
Expand Down

0 comments on commit d7dfd82

Please sign in to comment.