Reviewers: Hannes Payer (OOO), Yang, Michael Lippautz,

Message:
Created Revert of [heap] More flag cleanup.

Description:
Revert of [heap] More flag cleanup. (patchset #8 id:140001 of
https://codereview.chromium.org/1314863003/ )

Reason for revert:
Breaks
http://build.chromium.org/p/client.v8/builders/V8%20Arm%20-%20debug%20-%202/builds/2372

Original issue's 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}

[email protected],[email protected],[email protected]
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

Please review this at https://codereview.chromium.org/1303393004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+195, -252 lines):
  M src/api.cc
  M src/debug/debug.cc
  M src/extensions/statistics-extension.cc
  M src/heap-snapshot-generator.cc
  M src/heap/heap.h
  M src/heap/heap.cc
  M src/heap/heap-inl.h
  M src/heap/memory-reducer.cc
  M src/log.cc
  M src/runtime/runtime-debug.cc
  M test/cctest/test-api.cc
  M test/cctest/test-debug.cc
  M test/cctest/test-heap.cc
  M test/cctest/test-log.cc
  M test/cctest/test-mementos.cc
  M test/cctest/test-object-observe.cc
  M test/cctest/test-weakmaps.cc
  M test/cctest/test-weaksets.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to