1. 16 Jan, 2011 1 commit
  2. 11 Jan, 2011 1 commit
  3. 06 Jan, 2011 1 commit
    • sgjesse@chromium.org's avatar
      Misc debugger enhancements and bug fixes. · 2957881a
      sgjesse@chromium.org authored
      1. Added gdb style debugger commands (and their shortcuts) for d8.
      These include:
      - s[tep] : step into the current statement.
      - s[tep]i[n]: step into the current statement with the minimum step.
      - n[ext] : step to the next statement.
      - fin[ish] : step out of the current function.
      - cond : setting conditions on breakpoints.
      - d[elete] : deletes breakpoints.
      - en[able]|dis[able]: enables/disables breakpoints including
      exception breakpoints.
      - ignore : ignores a breakpoint for a specified period.
      - inf[o] ar[gs] : info on arguments of the current function.
      - inf[o] lo[cals] : info on local vars of the current function.
      - inf[o] br[eakpoints] : info on breakpoints.
      - l[ist] : similar to source, but allows the user to continually
      dump subsequent lines of source code either in the
      forward or backward direction.
      - quit / exit / disconnect : terminates the remote debugger
      session.
      
      NOTE: Active breakpoints will automatically be disabled when
      the remote debugger detaches. This allows v8 to continue to
      run without worrying about a loss of a debugger session.
      
      2. Added support for breaking the debugger by simply typing ENTER.
      The break command is now optional.
      
      3. Once the debugger is broken, the user can now just type ENTER
      to repeat the last command. This is useful to functionality that
      needs to be invoked repeatedly e.g. step, list.
      
      4. Added more verbose descriptions in d8's help.
      
      5. Fixed a line and column number offset bug in the listing of breakpoint
      line and column numbers.
      
      6. Added a gc command to allow GCs to be requested from the debugger
      interface. The plumbing for requesting different types of GCs is
      there, but the underlying implementation currently only triggers a
      full mark-compact GC. The command also returns the before and after
      sizes of the heap.
      
      7. Added trace json, and flags commands that are not published in help.
      trace json is used for tracing the debugger packets send from and
      received by d8. flags is for setting v8 flags. These are useful for
      people debugging v8 itself, but not necessarily users of v8.
      
      8. Added the ability to enable and disable break on all / uncaught
      exceptions in to d8.
      
      9. Added a fix to prevent the Debugger Agent from being re-instantiated
      if one already exists.
      
      10. Added the ability to filter results of the script command by matching
      text or numbers on the results.
      
      11. Added v8 flags to enable/disable the sending of debugger BeforeCompile,
      AfterCompile, and ScriptCollected events.
      
      12. Fixed some undefined value bugs that resulted in v8 or the debugger
      failing.
      
      13. Added a few minor WEBOS__ customizations (analogous to ANDROID
      customizations).
      
      Patch by Mark Lam from Hewlett-Packard Development Company, LP
      
      Review URL: http://codereview.chromium.org/5980006
      Review URL: http://codereview.chromium.org/6086010
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6200 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      2957881a
  4. 05 Jan, 2011 2 commits
    • sgjesse@chromium.org's avatar
      Revert r6180 as it caused test failures · 3c2c1d21
      sgjesse@chromium.org authored
      TBR=ricow@chromium.org
      Review URL: http://codereview.chromium.org/6080009
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6183 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      3c2c1d21
    • sgjesse@chromium.org's avatar
      Misc debugger enhancements and bug fixes. · 8669f630
      sgjesse@chromium.org authored
      1. Added gdb style debugger commands (and their shortcuts) for d8.
      These include:
      - s[tep] : step into the current statement.
      - s[tep]i[n]: step into the current statement with the minimum step.
      - n[ext] : step to the next statement.
      - fin[ish] : step out of the current function.
      - cond : setting conditions on breakpoints.
      - d[elete] : deletes breakpoints.
      - en[able]|dis[able]: enables/disables breakpoints including
      exception breakpoints.
      - ignore : ignores a breakpoint for a specified period.
      - inf[o] ar[gs] : info on arguments of the current function.
      - inf[o] lo[cals] : info on local vars of the current function.
      - inf[o] br[eakpoints] : info on breakpoints.
      - l[ist] : similar to source, but allows the user to continually
      dump subsequent lines of source code either in the
      forward or backward direction.
      - quit / exit / disconnect : terminates the remote debugger
      session.
      
      NOTE: Active breakpoints will automatically be disabled when
      the remote debugger detaches. This allows v8 to continue to
      run without worrying about a loss of a debugger session.
      
      2. Added support for breaking the debugger by simply typing ENTER.
      The break command is now optional.
      
      3. Once the debugger is broken, the user can now just type ENTER
      to repeat the last command. This is useful to functionality that
      needs to be invoked repeatedly e.g. step, list.
      
      4. Added more verbose descriptions in d8's help.
      
      5. Fixed a line and column number offset bug in the listing of breakpoint
      line and column numbers.
      
      6. Added a gc command to allow GCs to be requested from the debugger
      interface. The plumbing for requesting different types of GCs is
      there, but the underlying implementation currently only triggers a
      full mark-compact GC. The command also returns the before and after
      sizes of the heap.
      
      7. Added trace json, and flags commands that are not published in help.
      trace json is used for tracing the debugger packets send from and
      received by d8. flags is for setting v8 flags. These are useful for
      people debugging v8 itself, but not necessarily users of v8.
      
      8. Added the ability to enable and disable break on all / uncaught
      exceptions in to d8.
      
      9. Added a fix to prevent the Debugger Agent from being re-instantiated
      if one already exists.
      
      10. Added the ability to filter results of the script command by matching
      text or numbers on the results.
      
      11. Added v8 flags to enable/disable the sending of debugger BeforeCompile,
      AfterCompile, and ScriptCollected events.
      
      12. Fixed some undefined value bugs that resulted in v8 or the debugger
      failing.
      
      13. Added a few minor WEBOS__ customizations (analogous to ANDROID
      customizations).
      
      Patch by Mark Lam from Hewlett-Packard Development Company, LP
      
      Review URL: http://codereview.chromium.org/5980006
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6180 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      8669f630
  5. 14 Dec, 2010 2 commits
  6. 07 Dec, 2010 3 commits
  7. 02 Dec, 2010 1 commit
  8. 01 Dec, 2010 1 commit
  9. 22 Nov, 2010 1 commit
  10. 19 Nov, 2010 1 commit
  11. 10 Nov, 2010 1 commit
  12. 02 Nov, 2010 2 commits
  13. 27 Oct, 2010 1 commit
  14. 25 Oct, 2010 1 commit
  15. 21 Oct, 2010 1 commit
  16. 19 Oct, 2010 1 commit
  17. 23 Sep, 2010 1 commit
    • kaznacheev@chromium.org's avatar
      Dynamically determine optimal instance size. · 06c86740
      kaznacheev@chromium.org authored
      The number of inobject properties used to be derived from the number
      of this property assignments in the constructor (and increased by 2 to
      allow for properties added later). This very often leads to wasted inobject 
      slots.
      
      This patch reclaims some of the unused inobject space by the following method:
       - for each constructor function the first several objects are allocated using the initial 
         ("generous) instance size estimation (this is called 'tracking phase').
       - during the tracking phase map transitions are tracked and actual property counts are collected.
       - at the end of the tracking phase instance sizes in the maps are decreased if necessary
         (starting with the function's initial map and traversing the transition tree).
       - all further allocation use more realistic instance size estimation.
      
      Shrinking generously allocated objects without costly heap traversal is made possible 
      by initializing their inobject properties with one_pointer_filler_map (instead of undefined). 
      
      The initial slack for the generous allocation is increased from 2 to 6 which really helps some tests.
      
      Review URL: http://codereview.chromium.org/3329019
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5510 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      06c86740
  18. 16 Sep, 2010 1 commit
  19. 14 Sep, 2010 1 commit
  20. 26 Aug, 2010 1 commit
  21. 25 Aug, 2010 1 commit
  22. 24 Aug, 2010 1 commit
  23. 20 Aug, 2010 1 commit
  24. 06 Aug, 2010 1 commit
  25. 28 Jul, 2010 1 commit
  26. 23 Jul, 2010 1 commit
  27. 08 Jul, 2010 1 commit
  28. 02 Jul, 2010 1 commit
  29. 04 Jun, 2010 1 commit
  30. 03 Jun, 2010 1 commit
  31. 26 May, 2010 1 commit
  32. 29 Apr, 2010 1 commit
  33. 28 Apr, 2010 2 commits
  34. 19 Apr, 2010 1 commit