| Index: test/inspector/debugger/collect-old-async-call-chains-expected.txt | 
| diff --git a/test/inspector/debugger/collect-old-async-call-chains-expected.txt b/test/inspector/debugger/collect-old-async-call-chains-expected.txt | 
| index 64fef4af77edcb74d1f6b47f4e518bd133e410cf..e3a8842fde722c32f749cbf581a971ba3a3ca6f7 100644 | 
| --- a/test/inspector/debugger/collect-old-async-call-chains-expected.txt | 
| +++ b/test/inspector/debugger/collect-old-async-call-chains-expected.txt | 
| @@ -1,18 +1,6 @@ | 
| Checks that we drop old async call chains. | 
|  | 
| Running test: testInfrastructure | 
| -inspector.setMaxAsyncTaskStacks(1024) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(1024) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(1024) | 
| -Run expression 'console.trace(42)' with async chain len: 5 | 
| -actual async chain len: 1 | 
| - | 
| inspector.setMaxAsyncTaskStacks(1024) | 
| Run expression 'console.trace(42)' with async chain len: 1 | 
| actual async chain len: 1 | 
| @@ -25,6 +13,18 @@ | 
| Run expression 'console.trace(42)' with async chain len: 5 | 
| actual async chain len: 5 | 
|  | 
| +inspector.setMaxAsyncTaskStacks(1024) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(1024) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(1024) | 
| +Run expression 'console.trace(42)' with async chain len: 5 | 
| +actual async chain len: 5 | 
| + | 
|  | 
| Running test: testZeroLimit | 
| inspector.setMaxAsyncTaskStacks(0) | 
| @@ -47,11 +47,11 @@ | 
| Running test: testOneLimit | 
| inspector.setMaxAsyncTaskStacks(1) | 
| Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(1) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 1 | 
| +actual async chain len: 0 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(1) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 0 | 
|  | 
| inspector.setMaxAsyncTaskStacks(1) | 
| Run expression 'console.trace(42)' with async chain len: 1 | 
| @@ -65,15 +65,15 @@ | 
| Running test: testTwoLimit | 
| inspector.setMaxAsyncTaskStacks(2) | 
| Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(2) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 0 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(2) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 1 | 
| +actual async chain len: 0 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(2) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 0 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(2) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 0 | 
|  | 
| inspector.setMaxAsyncTaskStacks(2) | 
| Run expression 'console.trace(42)' with async chain len: 1 | 
| @@ -99,113 +99,113 @@ | 
|  | 
| inspector.setMaxAsyncTaskStacks(3) | 
| Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(3) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(3) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 2 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(3) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 3 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(4) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(4) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(4) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(4) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(4) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 2 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(4) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 3 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(5) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(5) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(5) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(5) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(5) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 2 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(5) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 3 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(6) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(6) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(6) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(6) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(6) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 2 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(6) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 3 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(7) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(7) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(7) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(7) | 
| -Run expression 'console.trace(42)' with async chain len: 1 | 
| -actual async chain len: 1 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(7) | 
| -Run expression 'console.trace(42)' with async chain len: 2 | 
| -actual async chain len: 2 | 
| - | 
| -inspector.setMaxAsyncTaskStacks(7) | 
| -Run expression 'console.trace(42)' with async chain len: 3 | 
| -actual async chain len: 3 | 
| - | 
| +actual async chain len: 0 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(3) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(3) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(3) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 3 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(4) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(4) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(4) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(4) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(4) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(4) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 3 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(5) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(5) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(5) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(5) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(5) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(5) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 3 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(6) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(6) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(6) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(6) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(6) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(6) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 3 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(7) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(7) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(7) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 3 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(7) | 
| +Run expression 'console.trace(42)' with async chain len: 1 | 
| +actual async chain len: 1 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(7) | 
| +Run expression 'console.trace(42)' with async chain len: 2 | 
| +actual async chain len: 2 | 
| + | 
| +inspector.setMaxAsyncTaskStacks(7) | 
| +Run expression 'console.trace(42)' with async chain len: 3 | 
| +actual async chain len: 3 | 
| + | 
|  |