Commit 73ba62bc authored by Toon Verwaest's avatar Toon Verwaest Committed by V8 LUCI CQ

[code-cache] Drop checking we increased the age

We might be racing with code that resets the age to 0, causing CAS to
fail (or us to read an already reset value).

Change-Id: I3ba555d64d48c4e2d2399978427c764c0e6e7128
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3735167
Auto-Submit: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81445}
parent bd149e9f
......@@ -720,7 +720,6 @@ void BytecodeArray::MakeOlder() {
reinterpret_cast<base::Atomic16*>(age_addr), age, age + 1);
}
DCHECK_GE(bytecode_age(), 1);
DCHECK_LE(bytecode_age(), FLAG_bytecode_old_age);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment