Title: [234338] trunk/Source/bmalloc
Revision
234338
Author
[email protected]
Date
2018-07-27 17:17:47 -0700 (Fri, 27 Jul 2018)

Log Message

Initialize bmalloc::DebugHeap::m_pageSize for non-Darwin builds.
https://bugs.webkit.org/show_bug.cgi?id=188132
<rdar://problem/40401599>

Reviewed by Saam Barati.

* bmalloc/DebugHeap.cpp:
(bmalloc::DebugHeap::DebugHeap):

Modified Paths

Diff

Modified: trunk/Source/bmalloc/ChangeLog (234337 => 234338)


--- trunk/Source/bmalloc/ChangeLog	2018-07-27 23:26:33 UTC (rev 234337)
+++ trunk/Source/bmalloc/ChangeLog	2018-07-28 00:17:47 UTC (rev 234338)
@@ -1,3 +1,14 @@
+2018-07-27  Mark Lam  <[email protected]>
+
+        Initialize bmalloc::DebugHeap::m_pageSize for non-Darwin builds.
+        https://bugs.webkit.org/show_bug.cgi?id=188132
+        <rdar://problem/40401599>
+
+        Reviewed by Saam Barati.
+
+        * bmalloc/DebugHeap.cpp:
+        (bmalloc::DebugHeap::DebugHeap):
+
 2018-07-27  Saam Barati  <[email protected]>
 
         Explicitly handle memlimit_active < 0

Modified: trunk/Source/bmalloc/bmalloc/DebugHeap.cpp (234337 => 234338)


--- trunk/Source/bmalloc/bmalloc/DebugHeap.cpp	2018-07-27 23:26:33 UTC (rev 234337)
+++ trunk/Source/bmalloc/bmalloc/DebugHeap.cpp	2018-07-28 00:17:47 UTC (rev 234338)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2016-2018 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -75,6 +75,7 @@
 #else
 
 DebugHeap::DebugHeap(std::lock_guard<Mutex>&)
+    : m_pageSize(vmPageSize())
 {
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to