|
|
DescriptionDisallow reentrance of FrameView::updateLifecyclePhasesInternal()
Reentrance of FrameView::updateLifecyclePhasesInternal() is bad.
For example, when we are invalidating paint, we call a function which
looks like a non-side-affecting getter which unexpectedly initiates
another lifecycle update which may unexpectedly delete the object
that the caller is processing.
This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(),
and crash with NOTREACHED() if DCHECK is enabled or early return
otherwise.
BUG=590856, 621360
Committed: https://crrev.com/66f753c15a71e28594ec9502b6d1f2b9c9d14dba
Cr-Commit-Position: refs/heads/master@{#416712}
Patch Set 1 #Patch Set 2 : - #Messages
Total messages: 22 (15 generated)
The CQ bit was checked by wangxianzhu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() BUG=590856,621360 ========== to ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is being processed. This CL add a DCHECK to check reentrance of FrameView::updateLifecyclePhasesInternal(), and early return if DCHECK is not enabled. BUG=590856,621360 ==========
wangxianzhu@chromium.org changed reviewers: + eae@chromium.org, szager@google.com, wkorman@chromium.org
Description was changed from ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is being processed. This CL add a DCHECK to check reentrance of FrameView::updateLifecyclePhasesInternal(), and early return if DCHECK is not enabled. BUG=590856,621360 ========== to ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is being processed. This CL adds a DCHECK to check reentrance of FrameView::updateLifecyclePhasesInternal(), and an early return if DCHECK is not enabled. BUG=590856,621360 ==========
lgtm nit: update CL description to reflect use of NOTREACHED() vs DCHECK. Does this pass a debug trybot? Interested to see.
The CQ bit was checked by wangxianzhu@chromium.org to run a CQ dry run
Description was changed from ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is being processed. This CL adds a DCHECK to check reentrance of FrameView::updateLifecyclePhasesInternal(), and an early return if DCHECK is not enabled. BUG=590856,621360 ========== to ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is being processed. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is being processed. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ========== to ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is processing. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ==========
Description was changed from ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrence of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is processing. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ========== to ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrance of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is processing. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Exceeded global retry quota
LGTM
The CQ bit was checked by wangxianzhu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/09/02 17:39:37, wkorman wrote: > lgtm > > nit: update CL description to reflect use of NOTREACHED() vs DCHECK. Done. > Does this pass a debug trybot? Interested to see. Most of the release try bots have dcheck_always_on so they cover this CL. Tried on dbg bots anyway. DumpAccessibilityTreeTest.AccessibilityFrameset and DumpAccessibilityTreeTest.AccessibilityIframeCoordinatesCrossProcess (in content_browsertests) crashed on win and mac respectively. The crash stacks don't show anything related to this CL. Retrying to see if they are temporary flakiness. Will look into them if they still crash.
Message was sent while issue was closed.
Description was changed from ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrance of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is processing. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ========== to ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrance of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is processing. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrance of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is processing. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 ========== to ========== Disallow reentrance of FrameView::updateLifecyclePhasesInternal() Reentrance of FrameView::updateLifecyclePhasesInternal() is bad. For example, when we are invalidating paint, we call a function which looks like a non-side-affecting getter which unexpectedly initiates another lifecycle update which may unexpectedly delete the object that the caller is processing. This CL checks reentrance of FrameView::updateLifecyclePhasesInternal(), and crash with NOTREACHED() if DCHECK is enabled or early return otherwise. BUG=590856,621360 Committed: https://crrev.com/66f753c15a71e28594ec9502b6d1f2b9c9d14dba Cr-Commit-Position: refs/heads/master@{#416712} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/66f753c15a71e28594ec9502b6d1f2b9c9d14dba Cr-Commit-Position: refs/heads/master@{#416712} |