|
|
Description[Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR.
When %OptimizeOSR is used with ignition flag, the runtime function tries to
compile for OSR on interpreted functions. This cl modifies
Runtime_OptimizeOsr function to return false for interpreted frames.
BUG=v8:4280, chromium:599002
LOG=N
Committed: https://crrev.com/570c2a3237dabdeb36b4139d8f2150d4b289a247
Cr-Commit-Position: refs/heads/master@{#35421}
Patch Set 1 #Patch Set 2 : Correct fix. The earlier fix was not correct. #
Total comments: 2
Patch Set 3 : Fixes a typo. #Messages
Total messages: 29 (14 generated)
The CQ bit was checked by mythria@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880073002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880073002/1
Description was changed from ========== [Interpreter] Disables OSR for interpreted functions with %OptimizeOSR intrinsic. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies IsSuitableForOnStackReplacement function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ========== to ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies IsSuitableForOnStackReplacement function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
mythria@chromium.org changed reviewers: + mstarzinger@chromium.org, rmcilroy@chromium.org
This is to fix clusterfuzz bug: https://bugs.chromium.org/p/chromium/issues/detail?id=599002. When we use %OptimizeOSR with ignition flag, we try to do OSR on interpreted function and fail. I added a check to return false if the function is interpreted. PTAL. Thanks, Mythri
Sorry, don't look at it yet. I think I fixed at the wrong place. Will upload another patch and update.
The CQ bit was checked by mythria@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880073002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880073002/20001
Description was changed from ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies IsSuitableForOnStackReplacement function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ========== to ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies Runtime_OptimizeOsr function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ==========
Description was changed from ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies Runtime_OptimizeOsr function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ========== to ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies Runtime_OptimizeOsr function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
PTAL. Uploaded the correct fix now :).
LGTM.
LGTM https://codereview.chromium.org/1880073002/diff/20001/src/runtime/runtime-tes... File src/runtime/runtime-test.cc (right): https://codereview.chromium.org/1880073002/diff/20001/src/runtime/runtime-tes... src/runtime/runtime-test.cc:138: // If funciton is interpreted, just return. OSR is not supported. /s/funciton/function.
Thanks for the review. https://codereview.chromium.org/1880073002/diff/20001/src/runtime/runtime-tes... File src/runtime/runtime-test.cc (right): https://codereview.chromium.org/1880073002/diff/20001/src/runtime/runtime-tes... src/runtime/runtime-test.cc:138: // If funciton is interpreted, just return. OSR is not supported. On 2016/04/12 12:56:56, rmcilroy wrote: > /s/funciton/function. Thanks, Done.
The CQ bit was checked by mythria@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880073002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by mythria@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from rmcilroy@chromium.org, mstarzinger@chromium.org Link to the patchset: https://codereview.chromium.org/1880073002/#ps40001 (title: "Fixes a typo.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880073002/40001
Message was sent while issue was closed.
Description was changed from ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies Runtime_OptimizeOsr function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ========== to ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies Runtime_OptimizeOsr function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies Runtime_OptimizeOsr function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N ========== to ========== [Interpreter] Disables OSR for interpreted functions when called with %OptimizeOSR. When %OptimizeOSR is used with ignition flag, the runtime function tries to compile for OSR on interpreted functions. This cl modifies Runtime_OptimizeOsr function to return false for interpreted frames. BUG=v8:4280,chromium:599002 LOG=N Committed: https://crrev.com/570c2a3237dabdeb36b4139d8f2150d4b289a247 Cr-Commit-Position: refs/heads/master@{#35421} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/570c2a3237dabdeb36b4139d8f2150d4b289a247 Cr-Commit-Position: refs/heads/master@{#35421} |