Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 93fd04dd13d3
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 08547edc3f89
Choose a head ref
  • 2 commits
  • 9 files changed
  • 1 contributor

Commits on Jun 9, 2016

  1. Added config option to filter source location.

    Threads, Fibers, and subprocess commands, like spawn, fork, backtick and exec,
    log the source code location that invoked them. This location can now be
    filtered based on a configuration option.
    
    The default is to filter the Ruby core library location. But when a utility
    library is used, the location will always show the same utility library source
    code. Adding a custom filter that excludes the library locations allows the
    client source code location to be logged instead.
    
    The following configuration options designate the source filters:
    
      -Xmachine.thread.log.filter (default '^core/.*$')
      -Xmachine.fiber.log.filter (default '^core/.*$')
      -Xsystem.log.filter (default '^core/.*$')
    
    The filter must match the entire source code line to exclude it. The first
    non-matching source code line will be logged.
    
    The filter expression uses the C++ regex facility and ECMAScript syntax.
    brixen committed Jun 9, 2016
    Copy the full SHA
    7acfc6a View commit details

Commits on Jun 10, 2016

  1. Added logging for config options.

    The configuration options can come from five different locations:
    
      1. The file $HOME/.rbxconfig if $HOME is defined.
      2. The file .rbxconfig in the current working directory.
      3. The RBXOPT environment variable.
      4. The command line options.
      5. The default values.
    
    This may cause ambiguity about what configuration options are in effect when a
    process runs. The -Xsystem.log.config (default: yes) option prints the
    configuration options that were parsed to the log file.
    brixen committed Jun 10, 2016
    Copy the full SHA
    08547ed View commit details
Loading