Changeset 93597 in webkit
- Timestamp:
- Aug 23, 2011 6:07:19 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r93594 r93597 1 2011-08-23 Steve Block <steveblock@google.com> 2 3 Remove last occurrences of PLATFORM(ANDROID) 4 https://bugs.webkit.org/show_bug.cgi?id=66763 5 6 Reviewed by Tony Gentilcore. 7 8 * wtf/Platform.h: 9 1 10 2011-08-23 Steve Block <steveblock@google.com> 2 11 -
trunk/Source/JavaScriptCore/wtf/Platform.h
r93466 r93597 613 613 #endif 614 614 615 #if PLATFORM(ANDROID)616 #define WTF_USE_PTHREADS 1617 #define USE_SYSTEM_MALLOC 1618 #define ENABLE_JAVA_BRIDGE 1619 #define LOG_DISABLED 1620 /* Prevents Webkit from drawing the caret in textfields and textareas621 This prevents unnecessary invals. */622 #define ENABLE_TEXT_CARET 1623 #define ENABLE_JAVASCRIPT_DEBUGGER 0624 #if !defined(ENABLE_JIT) && !ENABLE(ANDROID_JSC_JIT)625 #define ENABLE_JIT 0626 #endif627 #endif628 629 615 #if PLATFORM(WIN) && !OS(WINCE) 630 616 #define WTF_USE_CF 1 -
trunk/Source/WebCore/ChangeLog
r93596 r93597 1 2011-08-23 Steve Block <steveblock@google.com> 2 3 Remove last occurrences of PLATFORM(ANDROID) 4 https://bugs.webkit.org/show_bug.cgi?id=66763 5 6 Reviewed by Tony Gentilcore. 7 8 No new tests, removing dead code only. 9 10 * bindings/v8/V8GCController.cpp: 11 (WebCore::V8GCController::checkMemoryUsage): 12 1 13 2011-08-23 Steve Block <steveblock@google.com> 2 14 -
trunk/Source/WebCore/bindings/v8/V8GCController.cpp
r93573 r93597 469 469 const int highUsageMB = 1024; // If memory usage is above this threshold, force GC more aggresively. 470 470 const int highUsageDeltaMB = 128; // Delta of memory usage growth (vs. last workingSetEstimateMB) to force GC when memory usage is high. 471 #elif PLATFORM(ANDROID)472 // Query the PlatformBridge for memory thresholds as these vary device to device.473 static const int lowUsageMB = PlatformBridge::lowMemoryUsageMB();474 static const int highUsageMB = PlatformBridge::highMemoryUsageMB();475 // We use a delta of -1 to ensure that when we are in a low memory situation we always trigger a GC.476 static const int highUsageDeltaMB = -1;477 471 #else 478 472 return;
Note: See TracChangeset
for help on using the changeset viewer.