Changeset 211514 in webkit
- Timestamp:
- Feb 1, 2017, 1:26:25 PM (9 years ago)
- Location:
- branches/safari-603-branch/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-603-branch/Source/JavaScriptCore/API/JSVirtualMachine.mm
r210529 r211514 327 327 [externalRememberedSet removeAllObjects]; 328 328 } 329 330 visitor.mergeIfNecessary(); 329 331 } 330 332 -
branches/safari-603-branch/Source/JavaScriptCore/ChangeLog
r211509 r211514 1 2017-01-31 Matthew Hanson <matthew_hanson@apple.com> 2 3 Merge r211300. rdar://problem/30135571 4 5 2017-01-27 Filip Pizlo <fpizlo@apple.com> 6 7 scanExternalRememberedSet needs to mergeIfNecessary 8 https://bugs.webkit.org/show_bug.cgi?id=167523 9 10 Reviewed by Keith Miller. 11 12 The protocol for opaque roots is that if you add to them outside of draining, then you need to call 13 mergeIfNecessary. 14 15 This means that every MarkingConstraint that adds opaque roots needs to mergeIfNecessary after. 16 17 scanExternalRememberedSet transitively calls addOpaqueRoot, is called from a MarkingConstraint, and 18 was missing a call to mergeIfNecessary. This fixes it. 19 20 * API/JSVirtualMachine.mm: 21 (scanExternalRememberedSet): 22 1 23 2017-01-27 Matthew Hanson <matthew_hanson@apple.com> 2 24
Note:
See TracChangeset
for help on using the changeset viewer.