From: oliver@apple.com Date: Mon, 8 Dec 2008 00:35:12 +0000 (+0000) Subject: Rename ExecutableAllocatorMMAP to the more sensible ExecutableAllocatorPosix X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=260bedad3a31a91bd97317cee768cc1cbe846a7f Rename ExecutableAllocatorMMAP to the more sensible ExecutableAllocatorPosix Rubber stamped by Mark Rowe. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39084 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog index c9ed8c4..41166c6 100644 --- a/JavaScriptCore/ChangeLog +++ b/JavaScriptCore/ChangeLog @@ -1,5 +1,18 @@ 2008-12-07 Oliver Hunt + Rubber stamped by Mark Rowe. + + Rename ExecutableAllocatorMMAP to the more sensible ExecutableAllocatorPosix + + * JavaScriptCore.xcodeproj/project.pbxproj: + * jit/ExecutableAllocator.h: + * jit/ExecutableAllocatorPosix.cpp: Renamed from JavaScriptCore/jit/ExecutableAllocatorMMAP.cpp. + (JSC::ExecutableAllocator::intializePageSize): + (JSC::ExecutablePool::systemAlloc): + (JSC::ExecutablePool::systemRelease): + +2008-12-07 Oliver Hunt + Reviewed by Cameron Zwarich and Sam Weinig Need more granular control over allocation of executable memory (21783) diff --git a/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj b/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj index 00b148d..2b8cc7f 100644 --- a/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj +++ b/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj @@ -153,7 +153,7 @@ A72701B90DADE94900E548D7 /* ExceptionHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = A72701B30DADE94900E548D7 /* ExceptionHelpers.h */; }; A727FF6B0DA3092200E548D7 /* JSPropertyNameIterator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A727FF660DA3053B00E548D7 /* JSPropertyNameIterator.cpp */; }; A766B44F0EE8DCD1009518CA /* ExecutableAllocator.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B48DB50EE74CFC00DCBDB6 /* ExecutableAllocator.h */; settings = {ATTRIBUTES = (Private, ); }; }; - A782F16E0EEC8FB20036273F /* ExecutableAllocatorMMAP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A782F16D0EEC8FB20036273F /* ExecutableAllocatorMMAP.cpp */; }; + A782F1A50EEC9FA20036273F /* ExecutableAllocatorPosix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A782F1A40EEC9FA20036273F /* ExecutableAllocatorPosix.cpp */; }; A7B48F490EE8936F00DCBDB6 /* ExecutableAllocator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B48DB60EE74CFC00DCBDB6 /* ExecutableAllocator.cpp */; }; BC02E90D0E1839DB000F9297 /* ErrorConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = BC02E9050E1839DB000F9297 /* ErrorConstructor.h */; }; BC02E90F0E1839DB000F9297 /* ErrorPrototype.h in Headers */ = {isa = PBXBuildFile; fileRef = BC02E9070E1839DB000F9297 /* ErrorPrototype.h */; }; @@ -634,7 +634,7 @@ A72701B30DADE94900E548D7 /* ExceptionHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExceptionHelpers.h; sourceTree = ""; }; A727FF650DA3053B00E548D7 /* JSPropertyNameIterator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSPropertyNameIterator.h; sourceTree = ""; }; A727FF660DA3053B00E548D7 /* JSPropertyNameIterator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSPropertyNameIterator.cpp; sourceTree = ""; }; - A782F16D0EEC8FB20036273F /* ExecutableAllocatorMMAP.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ExecutableAllocatorMMAP.cpp; sourceTree = ""; }; + A782F1A40EEC9FA20036273F /* ExecutableAllocatorPosix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ExecutableAllocatorPosix.cpp; sourceTree = ""; }; A7B48DB50EE74CFC00DCBDB6 /* ExecutableAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExecutableAllocator.h; sourceTree = ""; }; A7B48DB60EE74CFC00DCBDB6 /* ExecutableAllocator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ExecutableAllocator.cpp; sourceTree = ""; }; A7E42C180E3938830065A544 /* JSStaticScopeObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSStaticScopeObject.h; sourceTree = ""; }; @@ -930,6 +930,7 @@ 1429D92C0ED22D7000B89619 /* jit */ = { isa = PBXGroup; children = ( + A782F1A40EEC9FA20036273F /* ExecutableAllocatorPosix.cpp */, 86A90ECF0EE7D51F00AB350D /* JITArithmetic.cpp */, 86CC85C30EE7A89400288682 /* JITPropertyAccess.cpp */, 86CC85A20EE79B7400288682 /* JITCall.cpp */, @@ -938,7 +939,6 @@ 1429D92E0ED22D7000B89619 /* JIT.h */, A7B48DB50EE74CFC00DCBDB6 /* ExecutableAllocator.h */, A7B48DB60EE74CFC00DCBDB6 /* ExecutableAllocator.cpp */, - A782F16D0EEC8FB20036273F /* ExecutableAllocatorMMAP.cpp */, ); path = jit; sourceTree = ""; @@ -1998,7 +1998,7 @@ 86A90ED00EE7D51F00AB350D /* JITArithmetic.cpp in Sources */, BCFD8C920EEB2EE700283848 /* JumpTable.cpp in Sources */, A7B48F490EE8936F00DCBDB6 /* ExecutableAllocator.cpp in Sources */, - A782F16E0EEC8FB20036273F /* ExecutableAllocatorMMAP.cpp in Sources */, + A782F1A50EEC9FA20036273F /* ExecutableAllocatorPosix.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/JavaScriptCore/jit/ExecutableAllocatorMMAP.cpp b/JavaScriptCore/jit/ExecutableAllocatorPosix.cpp similarity index 100% rename from JavaScriptCore/jit/ExecutableAllocatorMMAP.cpp rename to JavaScriptCore/jit/ExecutableAllocatorPosix.cpp