1. 12 Sep, 2013 1 commit
  2. 11 Sep, 2013 1 commit
  3. 10 Sep, 2013 1 commit
    • bmeurer@chromium.org's avatar
      Introduce a RandonNumberGenerator class. Refactor the random/private_random... · eb381b94
      bmeurer@chromium.org authored
      Introduce a RandonNumberGenerator class. Refactor the random/private_random uses in Isolate/Context.
      
      The RandomNumberGenerator is a pseudorandom number generator
      with 48-bit state. It is properly seeded using either
      
      (1) the --random-seed if specified, or
      (2) the entropy_source function if configured, or
      (3) /dev/urandom if available, or
      (4) falls back to Time and TimeTicks based seeding.
      
      Each Isolate now contains a RandomNumberGenerator, which replaces
      the previous private_random_seed.
      
      Every native context still has its own random_seed. But this random
      seed is now properly initialized during bootstrapping,
      instead of on-demand initialization. This will allow us to cleanup
      and speedup the HRandom implementation quite a lot (this is delayed
      for a followup CL)!
      
      Also stop messing with the system rand()/random(), which should
      not be done from a library anyway! We probably re-seeded the
      libc rand()/random() after the application (i.e. Chrome) already
      seeded it (with better entropy than what we used).
      
      Another followup CL will replace the use of the per-isolate
      random number generator for the address randomization and
      thereby get rid of the Isolate::UncheckedCurrent() usage in
      the platform code.
      
      TEST=cctest/test-random-number-generator,cctest/test-random
      R=mstarzinger@chromium.org
      
      Review URL: https://codereview.chromium.org/23548024
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16612 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      eb381b94
  4. 05 Sep, 2013 1 commit
  5. 03 Sep, 2013 1 commit
  6. 02 Sep, 2013 1 commit
  7. 26 Aug, 2013 1 commit
  8. 23 Aug, 2013 1 commit
  9. 22 Aug, 2013 1 commit
  10. 20 Aug, 2013 3 commits
  11. 16 Aug, 2013 1 commit
  12. 09 Aug, 2013 2 commits
  13. 02 Aug, 2013 1 commit
  14. 30 Jul, 2013 2 commits
  15. 24 Jul, 2013 1 commit
  16. 22 Jul, 2013 1 commit
  17. 18 Jul, 2013 1 commit
  18. 11 Jul, 2013 1 commit
  19. 05 Jul, 2013 2 commits
  20. 03 Jul, 2013 1 commit
  21. 28 Jun, 2013 2 commits
    • danno@chromium.org's avatar
      Improved function entry hook coverage · 1642f32d
      danno@chromium.org authored
      Adds more coverage for function entry hook, sufficient to capture profiles that are contiguous from C++, through JS and back out to C++.
      
      R=danno@chromium.org
      
      Committed: http://code.google.com/p/v8/source/detail?r=15361
      
      Review URL: https://codereview.chromium.org/16578008
      
      Patch from Sigurður Ásgeirsson <siggi@chromium.org>.
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15384 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      1642f32d
    • mvstanton@chromium.org's avatar
      Hydrogen array constructor cleanup and improvements · 83519ec8
      mvstanton@chromium.org authored
      * Cleanup of LCallNewArray::PrintDataTo() method
      * Created HCallNewArray::PrintDataTo()
      * Created many more tests in array-constructor-feedback.js
      * Removed redundant instructions in
        GenerateRecordCallTarget
      * Bugfix in CreateArrayDispatchOneArgument: on a call to
        new Array(0), we'd like to set the type feedback cell to
        a packed elements kind, but we shouldn't do it if the
        cell contains the megamorphic sentinel.
      * When used from crankshaft, ArrayConstructorStubs can
        avoid verifying that the function being called is the
        array function from the current native context, relying
        instead on the fact that crankshaft issues an
        HCheckFunction to protect the constructor call. (this
        new minor key is used in LCodeGen::DoCallNewArray(), and
        influences code generation in
        CodeStubGraphBuilderBase::BuildArrayConstructor()).
      * Optimization: the array constructor specialized for
        FAST_SMI_ELEMENTS can save some instructions by looking
        up the correct map on the passed in constructor, rather
        than indexing into the array of cached maps per element
        kind.
      
      BUG=
      R=danno@chromium.org
      
      Review URL: https://codereview.chromium.org/17091002
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15383 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      83519ec8
  22. 27 Jun, 2013 2 commits
  23. 25 Jun, 2013 1 commit
  24. 21 Jun, 2013 1 commit
  25. 19 Jun, 2013 1 commit
  26. 18 Jun, 2013 1 commit
  27. 14 Jun, 2013 1 commit
  28. 12 Jun, 2013 1 commit
  29. 07 Jun, 2013 1 commit
  30. 06 Jun, 2013 1 commit
  31. 05 Jun, 2013 1 commit
  32. 04 Jun, 2013 2 commits