blob: a6aa5bbc1220d779869831e75806f24070362846 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-js__src__jsapi.cpp,v 1.2 2013/06/26 11:32:12 ryoon Exp $
From bugzilla, bug 840242, attachment v1
Use the runtime page size to control arena decommit.
As a side effect, this removes the hard coded page-size == 4k requirement.
diff js/src/jsapi.cpp js/src/jsapi.cpp
--- js/src/jsapi.cpp.orig 2013-06-17 22:13:11.000000000 +0000
+++ js/src/jsapi.cpp
@@ -1131,8 +1131,6 @@ JS_NewRuntime(uint32_t maxbytes, JSUseHe
#undef MSG_DEF
#endif /* DEBUG */
- InitMemorySubsystem();
-
if (!js::TlsPerThreadData.init())
return NULL;
|