1. 15 Mar, 2016 2 commits
    • fmeawad's avatar
      [Tracing] Remove TRACE_EVENT_SCOPED_CONTEXT from V8 temporarily · 7a7d5815
      fmeawad authored
      The current trace scoping failed to accomplish what it intended to do
      it failed in 2 aspects:
      First, when new trace events were added in
      https://codereview.chromium.org/1770353002/ they escaped the scopes.
      Secondly, a webgl code interacts with the V8 Objects directly using
      the EXECUTION_PRIMITIVE context that does not generate any TRACE_EVENTs
      resulting in a lot of empty scopes (breaking analysis on TBM webgl benchmarks)
      https://crbug.com/590761.
      
      I am removing the calls for now until figuring out a better approach for both issues.
      
      BUG=590761,v8:4565
      LOG=N
      
      Review URL: https://codereview.chromium.org/1807433002
      
      Cr-Commit-Position: refs/heads/master@{#34799}
      7a7d5815
    • adamk's avatar
      Remove --harmony-modules flag and let embedder decide when modules are used · 5a202cce
      adamk authored
      Modules already have a separate entrypoint into the engine (at the moment,
      this is v8::ScriptCompiler::CompileModule, though that will change to
      something like ParseModule). This meant that requiring a commandline flag
      simply added an extra complexity burden on embedders. By removing the v8
      flag, this lets embedders use their own flagging mechanism (such as d8's
      "--module", or Blink's RuntimeEnabledFeatures) to control whether
      modules are to be used.
      
      Also remove old modules tests that were being skipped (since they test
      very old, pre-ES2015 modules syntax).
      
      R=littledan@chromium.org
      BUG=v8:1569, chromium:594639
      LOG=y
      
      Review URL: https://codereview.chromium.org/1804693002
      
      Cr-Commit-Position: refs/heads/master@{#34764}
      5a202cce
  2. 08 Mar, 2016 2 commits
  3. 07 Mar, 2016 2 commits
  4. 04 Mar, 2016 4 commits
  5. 01 Mar, 2016 1 commit
  6. 26 Feb, 2016 1 commit
    • fmeawad's avatar
      Reland: Add Scoped Context Info (Isolate) to V8 Traces · 567e5839
      fmeawad authored
      This patch adds the newly added support for contexts in V8 Tracing, as well
      as use it to mark all the entry points for a V8 Isolate.
      
      Update for reland: The current tracing interface needs to be updated (AddTraceEvent),
      but the embedders need to migrate to the new version before removing the old version.
      (Reland of: https://codereview.chromium.org/1686233002)
      
      The revert happened because the 2 signatures of the old and new AddTraceEvent where different
      so it threw an overload-virtual error on cross arm debug. This issue is temporary, and to solve
      it, I added an implementation of the old and new everywhere until the embedder implements the new.
      
      BUG=v8:4565
      LOG=N
      
      R=jochen@chromium.org
      
      Review URL: https://codereview.chromium.org/1704253002
      
      Cr-Commit-Position: refs/heads/master@{#34332}
      567e5839
  7. 25 Feb, 2016 1 commit
  8. 21 Feb, 2016 1 commit
  9. 19 Feb, 2016 1 commit
  10. 18 Feb, 2016 5 commits
  11. 17 Feb, 2016 2 commits
  12. 10 Feb, 2016 1 commit
  13. 06 Feb, 2016 1 commit
    • ishell's avatar
      [api] Make ObjectTemplate::SetNativeDataProperty() work even if the... · da213b6e
      ishell authored
      [api] Make ObjectTemplate::SetNativeDataProperty() work even if the ObjectTemplate does not have a constructor.
      
      Previously ObjectTemplate::New() logic relied on the fact that all the accessor properties are already installed in the initial map of the function object of the constructor FunctionTemplate.
      When the FunctionTemplate were instantiated the accessors of the instance templates from the whole inheritance chain were accumulated and added to the initial map.
      ObjectTemplate::SetSetAccessor() used to explicitly ensure that the ObjectTemplate has a constructor and therefore an initial map to add all accessors to.
      
      The new approach is to add all the accessors and data properties to the object exactly when the ObjectTemplate is instantiated. In order to keep it fast we now cache the object boilerplates in the Isolate::template_instantiations_cache (the former function_cache), so the object creation turns to be a deep copying of the boilerplate object.
      
      BUG=chromium:579009
      LOG=Y
      
      Committed: https://crrev.com/6a118774244d087b5979e9291d628a994f21d59d
      Cr-Commit-Position: refs/heads/master@{#33674}
      
      Review URL: https://codereview.chromium.org/1642223003
      
      Cr-Commit-Position: refs/heads/master@{#33798}
      da213b6e
  14. 04 Feb, 2016 2 commits
  15. 03 Feb, 2016 2 commits
    • jochen's avatar
      Add the data parameter back to the access check callback · a75b2c8f
      jochen authored
      BUG=none
      R=verwaest@chromium.org
      LOG=n
      
      Review URL: https://codereview.chromium.org/1653423002
      
      Cr-Commit-Position: refs/heads/master@{#33699}
      a75b2c8f
    • hablich's avatar
      Revert of [api] Make ObjectTemplate::SetNativeDataProperty() work even if the... · db47a31f
      hablich authored
      Revert of [api] Make ObjectTemplate::SetNativeDataProperty() work even if the ObjectTemplate does not have a … (patchset #3 id:80001 of https://codereview.chromium.org/1642223003/ )
      
      Reason for revert:
      Fails a lot of layout tests and blocks the roll. Can be easily reproduced with a local Chromium checkout.
      
      Reference: https://codereview.chromium.org/1652413003/
      
      Original issue's description:
      > [api] Make ObjectTemplate::SetNativeDataProperty() work even if the ObjectTemplate does not have a constructor.
      >
      > Previously ObjectTemplate::New() logic relied on the fact that all the accessor properties are already installed in the initial map of the function object of the constructor FunctionTemplate.
      > When the FunctionTemplate were instantiated the accessors of the instance templates from the whole inheritance chain were accumulated and added to the initial map.
      > ObjectTemplate::SetSetAccessor() used to explicitly ensure that the ObjectTemplate has a constructor and therefore an initial map to add all accessors to.
      >
      > The new approach is to add all the accessors and data properties to the object exactly when the ObjectTemplate is instantiated. In order to keep it fast we now cache the object boilerplates in the Isolate::template_instantiations_cache (the former function_cache), so the object creation turns to be a deep copying of the boilerplate object.
      >
      > This CL also prohibits non-primitive properties in ObjectTemplate to avoid potential cross-context leaks.
      >
      > BUG=chromium:579009
      > LOG=Y
      >
      > Committed: https://crrev.com/6a118774244d087b5979e9291d628a994f21d59d
      > Cr-Commit-Position: refs/heads/master@{#33674}
      
      TBR=verwaest@chromium.org,ishell@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:579009
      
      Review URL: https://codereview.chromium.org/1660263003
      
      Cr-Commit-Position: refs/heads/master@{#33698}
      db47a31f
  16. 02 Feb, 2016 1 commit
    • ishell's avatar
      [api] Make ObjectTemplate::SetNativeDataProperty() work even if the... · 6a118774
      ishell authored
      [api] Make ObjectTemplate::SetNativeDataProperty() work even if the ObjectTemplate does not have a constructor.
      
      Previously ObjectTemplate::New() logic relied on the fact that all the accessor properties are already installed in the initial map of the function object of the constructor FunctionTemplate.
      When the FunctionTemplate were instantiated the accessors of the instance templates from the whole inheritance chain were accumulated and added to the initial map.
      ObjectTemplate::SetSetAccessor() used to explicitly ensure that the ObjectTemplate has a constructor and therefore an initial map to add all accessors to.
      
      The new approach is to add all the accessors and data properties to the object exactly when the ObjectTemplate is instantiated. In order to keep it fast we now cache the object boilerplates in the Isolate::template_instantiations_cache (the former function_cache), so the object creation turns to be a deep copying of the boilerplate object.
      
      This CL also prohibits non-primitive properties in ObjectTemplate to avoid potential cross-context leaks.
      
      BUG=chromium:579009
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1642223003
      
      Cr-Commit-Position: refs/heads/master@{#33674}
      6a118774
  17. 29 Jan, 2016 2 commits
  18. 27 Jan, 2016 1 commit
  19. 26 Jan, 2016 1 commit
  20. 22 Jan, 2016 1 commit
  21. 21 Jan, 2016 2 commits
  22. 18 Jan, 2016 1 commit
  23. 15 Jan, 2016 2 commits
  24. 13 Jan, 2016 1 commit