Changeset 211300 in webkit
- Timestamp:
- Jan 27, 2017, 1:01:50 PM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
API/JSVirtualMachine.mm (modified) (1 diff)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSVirtualMachine.mm
r210458 r211300 327 327 [externalRememberedSet removeAllObjects]; 328 328 } 329 330 visitor.mergeIfNecessary(); 329 331 } 330 332 -
trunk/Source/JavaScriptCore/ChangeLog
r211276 r211300 1 2017-01-27 Filip Pizlo <fpizlo@apple.com> 2 3 scanExternalRememberedSet needs to mergeIfNecessary 4 https://bugs.webkit.org/show_bug.cgi?id=167523 5 6 Reviewed by Keith Miller. 7 8 The protocol for opaque roots is that if you add to them outside of draining, then you need to call 9 mergeIfNecessary. 10 11 This means that every MarkingConstraint that adds opaque roots needs to mergeIfNecessary after. 12 13 scanExternalRememberedSet transitively calls addOpaqueRoot, is called from a MarkingConstraint, and 14 was missing a call to mergeIfNecessary. This fixes it. 15 16 * API/JSVirtualMachine.mm: 17 (scanExternalRememberedSet): 18 1 19 2017-01-27 Carlos Garcia Campos <cgarcia@igalia.com> 2 20
Note:
See TracChangeset
for help on using the changeset viewer.