Skip to content
Commits on May 24, 2016
  1. @brixen
  2. @brixen

    Improved -Xhelp rendering.

    brixen committed May 23, 2016
  3. @brixen
  4. @brixen

    Allow per-Thread, per-Fiber stack sizing.

    Thread.new, Thread.start, Thread.fork, and Fiber.new all take an optional
    keyword argument of the form: 'stack_size: Fixnum', where Fixnum includes
    objects that respond to #to_int. The keyword argument, if present, sets the
    size of the Thread's or Fiber's stack size. If the argument is not present or
    is zero, the default stack size, configured with -Xmachine.thread.stack_size
    and -Xmachine.fiber.stack_size are used instead.
    
    Added configuration for machine.thread.stack_size to set the default size of
    Thread stacks. Also moved fiber.stack_size configuration under machine
    section.
    
    Also added configuration for machine.stack_cushion to set the size in bytes of
    the cushion to leave at the stack end when checking for stack usage. This is
    necessary because we check the stack usage before calling a method. The method
    may use quite a bit of stack but we can't know this beforehand (hand-wavy
    "can't" here). If we are near the end but not yet at the end, we could easily
    exhaust the stack after calling the method and then segfault.
    brixen committed May 23, 2016
Commits on May 23, 2016
  1. @brixen
  2. @brixen
Commits on May 22, 2016
  1. @brixen
  2. @brixen

    Renamed InternalThread to MachineThread.

    This naming is consistent with the refactorings toward Machine being the main
    entity for executing managed code and properly contrasts with future
    refactoring to make ManagedThread the counterpart for managed code execution.
    brixen committed May 21, 2016
  3. @brixen

    Added new JIT thread.

    brixen committed May 21, 2016
  4. @brixen

    Some configuration cleanup.

    brixen committed May 21, 2016
Commits on May 20, 2016
  1. @brixen
Commits on May 19, 2016
  1. @brixen
  2. @brixen
  3. @brixen
Commits on May 16, 2016
  1. @brixen
  2. @brixen

    Shuffled Profiler code.

    brixen committed May 15, 2016
Commits on May 15, 2016
  1. @brixen
  2. @brixen

    Added profiler report interval.

    brixen committed May 14, 2016
  3. @brixen

    Fixed VM.backtrace.

    brixen committed May 14, 2016
  4. @brixen
Commits on May 14, 2016
  1. @brixen

    Fixed VM.backtrace API.

    Code in the wild is using the old version of this, so we'll support it until
    we can effectively update old users.
    brixen committed May 14, 2016
  2. @brixen
  3. @brixen
  4. @brixen
  5. @brixen

    Added more profiler functionality.

    Use -Xsystem.profiler.target=<path> to set the output path for the profiler
    report. The path can optionally contain the text $PID where desired and the
    process ID will be substituted. Quoting the option may be necessary to prevent
    the shell from expanding $PID prematurely. For example:
    
      rbx -Xsystem.profiler.target='path/to/profiler_report-$PID.txt'
    
    The fully qualified name is implemented yet because it requires an additional
    data structure to properly track the components, so only the bare method name
    is displayed.
    brixen committed May 11, 2016
Commits on May 11, 2016
  1. @brixen
  2. @brixen

    Added profile metrics.

    brixen committed May 11, 2016
  3. @brixen

    Added simple, per-thread, random interval sampling.

    This is mostly a temporary experiment that will likely be replaced with a
    calling-context tree or similar structure and a separate profiler thread.
    brixen committed May 10, 2016
Commits on May 9, 2016
  1. @brixen
  2. @brixen

    Removed remnants of rbxti.

    brixen committed May 9, 2016
  3. @brixen

    Merge branch 'profiler'

    brixen committed May 9, 2016
  4. @brixen
  5. @brixen

    Updated to Bundler 1.12.3.

    brixen committed May 9, 2016
Commits on May 8, 2016
  1. @brixen
  2. @brixen

    Updated profiler gems versions.

    brixen committed May 8, 2016
Something went wrong with that request. Please try again.