Changeset 122614 in webkit
- Timestamp:
- Jul 13, 2012 12:05:21 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r122610 r122614 1 2012-07-13 Kentaro Hara <haraken@chromium.org> 2 3 [V8] String wrappers should be marked Independent 4 https://bugs.webkit.org/show_bug.cgi?id=91251 5 6 Reviewed by Adam Barth. 7 8 Currently V8 String wrappers are not marked Independent. 9 By marking them Independent, they can be reclaimed by the scavenger GC. 10 11 I tried to find some cases where this change reduces memory usage, 12 but couldn't due to sensitive behavior of GC. 13 14 No tests. No change in behavior. 15 16 * bindings/v8/V8Binding.cpp: 17 (WebCore::StringCache::v8ExternalStringSlow): 18 1 19 2012-07-13 Peter Beverloo <peter@chromium.org> 2 20 -
trunk/Source/WebCore/bindings/v8/V8Binding.cpp
r122600 r122614 494 494 495 495 stringImpl->ref(); 496 wrapper.MarkIndependent(); 496 497 wrapper.MakeWeak(stringImpl, cachedStringCallback); 497 498 m_stringCache.set(stringImpl, *wrapper);
Note: See TracChangeset
for help on using the changeset viewer.