Title: [256467] trunk/Source/_javascript_Core
Revision
256467
Author
[email protected]
Date
2020-02-12 12:07:25 -0800 (Wed, 12 Feb 2020)

Log Message

[JSC] Make RegExpCache small
https://bugs.webkit.org/show_bug.cgi?id=207619

Reviewed by Mark Lam.

We can compact RegExpKey by using PackedRefPtr, so that we can shrink memory consumption of RegExpCache.

* runtime/RegExpKey.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (256466 => 256467)


--- trunk/Source/_javascript_Core/ChangeLog	2020-02-12 20:01:14 UTC (rev 256466)
+++ trunk/Source/_javascript_Core/ChangeLog	2020-02-12 20:07:25 UTC (rev 256467)
@@ -1,3 +1,14 @@
+2020-02-12  Yusuke Suzuki  <[email protected]>
+
+        [JSC] Make RegExpCache small
+        https://bugs.webkit.org/show_bug.cgi?id=207619
+
+        Reviewed by Mark Lam.
+
+        We can compact RegExpKey by using PackedRefPtr, so that we can shrink memory consumption of RegExpCache.
+
+        * runtime/RegExpKey.h:
+
 2020-02-10  Mark Lam  <[email protected]>
 
         Placate exception check validator in GenericArguments<Type>::put().

Modified: trunk/Source/_javascript_Core/runtime/RegExpKey.h (256466 => 256467)


--- trunk/Source/_javascript_Core/runtime/RegExpKey.h	2020-02-12 20:01:14 UTC (rev 256466)
+++ trunk/Source/_javascript_Core/runtime/RegExpKey.h	2020-02-12 20:07:25 UTC (rev 256467)
@@ -36,7 +36,7 @@
 
 struct RegExpKey {
     OptionSet<Yarr::Flags> flagsValue;
-    RefPtr<StringImpl> pattern;
+    PackedRefPtr<StringImpl> pattern;
 
     RegExpKey()
     {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to