v8/test
Simon Zünd 91bab5588c [array] Use random middle element to determine pivot during sorting
This CL adds a "random state" to the Smi Root list and implements a
basic Linear congruential pseudo random number generator in Torque.

The RNG is used to determine the pivot element for sorting. This will
prevent the worst cases for certain data layouts.

Drive-by-fix: Make sorting of ranges and execution pauses for profviz
deterministic by adding a secondary sorting criteria.

Bug: v8:7382
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: Ieb871e98e74bdb803f821b0cd35d2f67ee0f2868
Reviewed-on: https://chromium-review.googlesource.com/1082193
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Simon Zünd <szuend@google.com>
Cr-Commit-Position: refs/heads/master@{#53524}
2018-06-05 14:11:37 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [torque] add hex literals 2018-06-05 11:48:53 +00:00
common [wasm] Make wasm::ValueType independent of the MachineRepresentation 2018-05-07 11:54:56 +00:00
debugger [sfi] Remove SFI function literal id field 2018-06-05 13:45:11 +00:00
fuzzer [parsing] Remove most GetIsolate calls 2018-06-05 08:54:58 +00:00
inspector [inspector] added missing tests 2018-06-05 01:43:33 +00:00
intl Prevent throwing exceptions more than once during Locale construction. 2018-06-01 18:18:54 +00:00
js-perf-test [tests] Fix JSTests 2018-06-05 11:38:43 +00:00
memory Reland "[tools] Add benchmark owners to the config" 2018-05-16 13:53:49 +00:00
message Reland "[array] Implement Array.p.sort in Torque" 2018-06-05 08:33:18 +00:00
mjsunit [array] Use random middle element to determine pivot during sorting 2018-06-05 14:11:37 +00:00
mkgrokdump Remove manual references to exe_and_shlib_deps 2018-06-04 18:35:43 +00:00
mozilla [test] Reverse sense of wasm_traps variant 2018-05-08 17:49:14 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 [array] Use random middle element to determine pivot during sorting 2018-06-05 14:11:37 +00:00
torque [torque] Fix int32 literals 2018-06-05 12:33:23 +00:00
unittests [sfi] Remove SFI function literal id field 2018-06-05 13:45:11 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-05-22 09:47:41 +00:00
webkit [test] Skip slow tests 2018-05-23 14:14:34 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00