Skip to content

Commit

Permalink
deps: downgrade v8 to 3.14.5
Browse files Browse the repository at this point in the history
V8 3.15 and newer have stability and performance issues. Roll back to
a known-good version.
  • Loading branch information
bnoordhuis committed Feb 25, 2013
1 parent 3404608 commit b15a10e
Show file tree
Hide file tree
Showing 349 changed files with 11,394 additions and 24,676 deletions.
5 changes: 0 additions & 5 deletions deps/v8/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#*#
*~
.cpplint-cache
.d8_history
d8
d8_g
shell
Expand Down Expand Up @@ -51,7 +50,3 @@ shell_g
/xcodebuild
TAGS
*.Makefile
GTAGS
GRTAGS
GSYMS
GPATH
3 changes: 0 additions & 3 deletions deps/v8/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Burcu Dogan <[email protected]>
Craig Schlenter <[email protected]>
Daniel Andersson <[email protected]>
Daniel James <[email protected]>
Derek J Conrod <[email protected]>
Dineel D Sule <[email protected]>
Erich Ocean <[email protected]>
Fedor Indutny <[email protected]>
Expand All @@ -45,7 +44,6 @@ Paolo Giarrusso <[email protected]>
Patrick Gansterer <[email protected]>
Peter Varga <[email protected]>
Rafal Krypa <[email protected]>
Rajeev R Krithivasan <[email protected]>
Rene Rebe <[email protected]>
Robert Mustacchi <[email protected]>
Rodolph Perfetta <[email protected]>
Expand All @@ -55,7 +53,6 @@ Sanjoy Das <[email protected]>
Subrato K De <[email protected]>
Tobias Burnus <[email protected]>
Vlad Burlik <[email protected]>
Xi Qian <[email protected]>
Yuqiang Xian <[email protected]>
Zaheer Ahmad <[email protected]>
Zhongping Wang <[email protected]>
158 changes: 0 additions & 158 deletions deps/v8/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,161 +1,3 @@
2012-12-10: Version 3.15.11

Define CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and arm_fpu GYP
flags.

Performance and stability improvements on all platforms.


2012-12-07: Version 3.15.10

Enabled optimisation of functions inside eval. (issue 2315)

Fixed spec violations in methods of Number.prototype. (issue 2443)

Added GCTracer metrics for a scavenger GC for DOM wrappers.

Performance and stability improvements on all platforms.


2012-12-06: Version 3.15.9

Fixed candidate eviction in code flusher.
(Chromium issue 159140)

Iterate through all arguments for side effects in Math.min/max.
(issue 2444)

Fixed spec violations related to regexp.lastIndex
(issue 2437, issue 2438)

Performance and stability improvements on all platforms.


2012-12-04: Version 3.15.8

Enforced stack allocation of TryCatch blocks.
(issue 2166,chromium:152389)

Fixed external exceptions in external try-catch handlers.
(issue 2166)

Activated incremental code flushing by default.

Performance and stability improvements on all platforms.


2012-11-30: Version 3.15.7

Activated code aging by default.

Included more information in --prof log.

Removed eager sweeping for lazy swept spaces. Try to find in
SlowAllocateRaw a bounded number of times a big enough memory slot.
(issue 2194)

Performance and stability improvements on all platforms.


2012-11-26: Version 3.15.6

Ensure double arrays are filled with holes when extended from
variations of empty arrays. (Chromium issue 162085)

Performance and stability improvements on all platforms.


2012-11-23: Version 3.15.5

Fixed JSON.stringify for objects with interceptor handlers.
(Chromium issue 161028)

Fixed corner case in x64 compare stubs. (issue 2416)

Performance and stability improvements on all platforms.


2012-11-16: Version 3.15.4

Fixed Array.prototype.join evaluation order. (issue 2263)

Perform CPU sampling by CPU sampling thread only iff processing thread
is not running. (issue 2364)

When using an Object as a set in Object.getOwnPropertyNames, null out
the proto. (issue 2410)

Disabled EXTRA_CHECKS in Release build.

Heap explorer: Show representation of strings.

Removed 'type' and 'arguments' properties from Error object.
(issue 2397)

Added atomics implementation for ThreadSanitizer v2.
(Chromium issue 128314)

Fixed LiveEdit crashes when object/array literal is added. (issue 2368)

Performance and stability improvements on all platforms.


2012-11-13: Version 3.15.3

Changed sample shell to send non-JS output (e.g. errors) to stderr
instead of stdout.

Correctly check for stack overflow even when interrupt is pending.
(issue 214)

Collect stack trace on stack overflow. (issue 2394)

Performance and stability improvements on all platforms.


2012-11-12: Version 3.15.2

Function::GetScriptOrigin supplies sourceURL when script name is
not available. (Chromium issue 159413)

Made formatting error message side-effect-free. (issue 2398)

Fixed length check in JSON.stringify. (Chromium issue 160010)

ES6: Added support for Set and Map clear method (issue 2400)

Fixed slack tracking when instance prototype changes.
(Chromium issue 157019)

Fixed disabling of code flusher while marking. (Chromium issue 159140)

Added a test case for object grouping in a scavenger GC (issue 2077)

Support shared library build of Android for v8.
(Chromium issue 158821)

ES6: Added support for size to Set and Map (issue 2395)

Performance and stability improvements on all platforms.


2012-11-06: Version 3.15.1

Put incremental code flushing behind a flag. (Chromium issue 159140)

Performance and stability improvements on all platforms.


2012-10-31: Version 3.15.0

Loosened aligned code target requirement on ARM (issue 2380)

Fixed JSON.parse to treat leading zeros correctly.
(Chromium issue 158185)

Performance and stability improvements on all platforms.


2012-10-22: Version 3.14.5

Killed off the SCons based build.
Expand Down
9 changes: 2 additions & 7 deletions deps/v8/build/android.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@
'ldflags': [
'-nostdlib',
'-Wl,--no-undefined',
# Don't export symbols from statically linked libraries.
'-Wl,--exclude-libs=ALL',
],
'libraries!': [
'-lrt', # librt is built into Bionic.
Expand Down Expand Up @@ -217,13 +219,6 @@
['_type=="shared_library"', {
'ldflags': [
'-Wl,-shared,-Bsymbolic',
'<(android_lib)/crtbegin_so.o',
],
}],
['_type=="static_library"', {
'ldflags': [
# Don't export symbols from statically linked libraries.
'-Wl,--exclude-libs=ALL',
],
}],
],
Expand Down
52 changes: 20 additions & 32 deletions deps/v8/build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@

'v8_enable_disassembler%': 0,

# Enable extra checks in API functions and other strategic places.
'v8_enable_extra_checks%': 1,

'v8_enable_gdbjit%': 0,

'v8_object_print%': 0,
Expand Down Expand Up @@ -111,6 +114,9 @@
['v8_enable_disassembler==1', {
'defines': ['ENABLE_DISASSEMBLER',],
}],
['v8_enable_extra_checks==1', {
'defines': ['ENABLE_EXTRA_CHECKS',],
}],
['v8_enable_gdbjit==1', {
'defines': ['ENABLE_GDB_JIT_INTERFACE',],
}],
Expand All @@ -128,11 +134,6 @@
'V8_TARGET_ARCH_ARM',
],
'conditions': [
['armv7==1', {
'defines': [
'CAN_USE_ARMV7_INSTRUCTIONS=1',
],
}],
[ 'v8_can_use_unaligned_accesses=="true"', {
'defines': [
'CAN_USE_UNALIGNED_ACCESSES=1',
Expand All @@ -143,24 +144,20 @@
'CAN_USE_UNALIGNED_ACCESSES=0',
],
}],
# NEON implies VFP3 and VFP3 implies VFP2.
[ 'v8_can_use_vfp2_instructions=="true" or arm_neon==1 or \
arm_fpu=="vfpv3" or arm_fpu=="vfpv3-d16"', {
[ 'v8_can_use_vfp2_instructions=="true"', {
'defines': [
'CAN_USE_VFP2_INSTRUCTIONS',
],
}],
# NEON implies VFP3.
[ 'v8_can_use_vfp3_instructions=="true" or arm_neon==1 or \
arm_fpu=="vfpv3" or arm_fpu=="vfpv3-d16"', {
[ 'v8_can_use_vfp3_instructions=="true"', {
'defines': [
'CAN_USE_VFP3_INSTRUCTIONS',
],
}],
[ 'v8_use_arm_eabi_hardfloat=="true"', {
'defines': [
'USE_EABI_HARDFLOAT=1',
'CAN_USE_VFP2_INSTRUCTIONS',
'CAN_USE_VFP3_INSTRUCTIONS',
],
'target_conditions': [
['_toolset=="target"', {
Expand Down Expand Up @@ -203,11 +200,10 @@
['mips_arch_variant=="mips32r2"', {
'cflags': ['-mips32r2', '-Wa,-mips32r2'],
}],
['mips_arch_variant=="mips32r1"', {
'cflags': ['-mips32', '-Wa,-mips32'],
}],
['mips_arch_variant=="loongson"', {
'cflags': ['-mips3', '-Wa,-mips3'],
}, {
'cflags': ['-mips32', '-Wa,-mips32'],
}],
],
}],
Expand Down Expand Up @@ -334,9 +330,6 @@
], # conditions
'configurations': {
'Debug': {
'variables': {
'v8_enable_extra_checks%': 1,
},
'defines': [
'DEBUG',
'ENABLE_DISASSEMBLER',
Expand All @@ -361,9 +354,6 @@
},
},
'conditions': [
['v8_enable_extra_checks==1', {
'defines': ['ENABLE_EXTRA_CHECKS',],
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
'-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
Expand All @@ -382,23 +372,21 @@
}],
],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '0', # -O0
},
}],
],
}, # Debug
'Release': {
'variables': {
'v8_enable_extra_checks%': 0,
},
'conditions': [
['v8_enable_extra_checks==1', {
'defines': ['ENABLE_EXTRA_CHECKS',],
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
or OS=="android"', {
'cflags!': [
'-O2',
'-Os',
],
'cflags': [
'-fdata-sections',
'-ffunction-sections',
'-O3',
],
'conditions': [
[ 'gcc_version==44 and clang==0', {
'cflags': [
Expand Down
17 changes: 1 addition & 16 deletions deps/v8/include/v8-profiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -406,29 +406,14 @@ class V8EXPORT HeapProfiler {
*/
static const SnapshotObjectId kUnknownObjectId = 0;

/**
* Callback interface for retrieving user friendly names of global objects.
*/
class ObjectNameResolver {
public:
/**
* Returns name to be used in the heap snapshot for given node. Returned
* string must stay alive until snapshot collection is completed.
*/
virtual const char* GetName(Handle<Object> object) = 0;
protected:
virtual ~ObjectNameResolver() {}
};

/**
* Takes a heap snapshot and returns it. Title may be an empty string.
* See HeapSnapshot::Type for types description.
*/
static const HeapSnapshot* TakeSnapshot(
Handle<String> title,
HeapSnapshot::Type type = HeapSnapshot::kFull,
ActivityControl* control = NULL,
ObjectNameResolver* global_object_name_resolver = NULL);
ActivityControl* control = NULL);

/**
* Starts tracking of heap objects population statistics. After calling
Expand Down
Loading

0 comments on commit b15a10e

Please sign in to comment.