Reviewers: Yang, Benedikt Meurer, Michael Starzinger,

Message:
Please take a look, with special focus on:
- Yang: Serialization changes
- Michi: Boostrapper changes
- Benedikt: Code stub generation changes



Description:
Create a internal native context used only for TF- generated code stubs

Until now, TF-generated code stubs piggy-backed off of the builtin
context. Since generation of code stubs is lazy, stubs generated at
different times in different native contexts would contain embedded
pointers different builtin contexts, leading to cross-context references
and memory leaks.

After this CL, all TF-generated code stubs are generated inside a
internal thinned-out, native context that specifically liveas for the
purpose of hosting generated code stubs.

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

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

Affected files (+406, -145 lines):
  M BUILD.gn
  M src/bootstrapper.h
  M src/bootstrapper.cc
  M src/code-stubs.cc
  A src/code-stubs.js
  M src/contexts.h
  M src/heap/heap.h
  M src/heap/heap.cc
  M src/isolate.cc
  M src/runtime.js
  M src/runtime/runtime.h
  M src/runtime/runtime-internal.cc
  M src/runtime/runtime-test.cc
  M src/snapshot/natives.h
  M src/snapshot/natives-external.cc
  M src/snapshot/serialize.h
  M src/snapshot/serialize.cc
  M test/cctest/test-api.cc
  M test/cctest/test-debug.cc
  M test/cctest/test-heap.cc
  M test/cctest/test-heap-profiler.cc
  M test/cctest/test-object-observe.cc
  M test/mjsunit/compiler/stubs/floor-stub.js
  M tools/gyp/v8.gyp


--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to