This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
v8
Watch
1
Star
0
Fork
0
You've already forked v8
Code
Issues
2
Pull Requests
Releases
Wiki
Activity
86fee30e25
v8
/
test
/
inspector
/
debugger
/
wasm-clone-module-expected.txt
6 lines
146 B
Plaintext
Raw
Normal View
History
Unescape
Escape
[wasm] Call OnAfterCompile when cloning Module The debugger should be notified whenever a new Module is created so it displayed properly. Without this change, the Module is only displayed once, regardless of the number of times it is referenced (by other Workers, say). That is potentially reasonable behavior, but it doesn't match the way JavaScript does it. With this change, the debugger will display the sources like this: ``` ▼ top ▶ localhost ▼ wasm ▼ wasm-82570336 wasm-82570336-0 ▼ worker.js ▶ localhost ▼ wasm ▶ wasm-82570336 ``` Change-Id: I61177e8a07e36ea8e2234aa25e75b1489c9da95f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1666616 Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Ben Smith <binji@chromium.org> Cr-Commit-Position: refs/heads/master@{#62297}
2019-06-19 00:51:05 +00:00
Tests that cloning a module notifies the debugger
[strings] Reclaim a bit in the hash field By replacing usage of the IsNotArrayIndex bit with IsNotIntegerIndex, we get back one bit that we can use to increase the number of hash bits stored. The price is that strings that represent array/integer indices beyond the cacheable range will have to be scanned more often, but these strings should be rare, and we expect that the additional hash bit is more worthwhile to have. Bug: v8:9904 Change-Id: I33f74b0a73f4754aee85805d4b7c409177668439 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2051947 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Auto-Submit: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#66299}
2020-02-12 13:41:02 +00:00
Got URL: wasm://wasm/cae8f226
Got URL: wasm://wasm/cae8f226
Got URL: wasm://wasm/cae8f226
[wasm] Call OnAfterCompile when cloning Module The debugger should be notified whenever a new Module is created so it displayed properly. Without this change, the Module is only displayed once, regardless of the number of times it is referenced (by other Workers, say). That is potentially reasonable behavior, but it doesn't match the way JavaScript does it. With this change, the debugger will display the sources like this: ``` ▼ top ▶ localhost ▼ wasm ▼ wasm-82570336 wasm-82570336-0 ▼ worker.js ▶ localhost ▼ wasm ▶ wasm-82570336 ``` Change-Id: I61177e8a07e36ea8e2234aa25e75b1489c9da95f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1666616 Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Ben Smith <binji@chromium.org> Cr-Commit-Position: refs/heads/master@{#62297}
2019-06-19 00:51:05 +00:00
Done!
Reference in New Issue
Copy Permalink