Chromium Code Reviews
Description[heap] GC flag cleanup/restructuring.
* GC's flags are now proper flags and not int.
* Callback flags are not threaded through but only set once like gc flags
* Callers of methods that trigger GCs need to pass a reason when not using
the default parameters.
Furthermore, each GC invocation can be passed the GC and GCCallback flags. We
usually override the currently set flags upon finishing a GC cylce, but are able
to restore the previously set if desired. This is useful for explicitely
triggered scavenges or external requests that interrupt the current behaviour.
BUG=
Committed: https://crrev.com/f4f3b431b9ce0778d926acf03c0d36dae5c0cba4
Cr-Commit-Position: refs/heads/master@{#30457}
Patch Set 1 #Patch Set 2 : API changes and unification #Patch Set 3 : Fix compilation and add const to parameters #
Total comments: 2
Patch Set 4 : addressed comment + rebase #Patch Set 5 : Fix flag override by adding a scope #Patch Set 6 : Remove unused DCHECK #Patch Set 7 : Remove unnecessary parameter. #
Total comments: 2
Patch Set 8 : Added more comments #
Messages
Total messages: 24 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||