Permalink
Switch branches/tags
Commits on Jun 12, 2018
  1. Merge pull request #5187 from headius/nonvolatile_ivars

    headius committed Jun 12, 2018
    Non-volatile instance variables
  2. Merge pull request #5214 from headius/clone_proc_for_define

    headius committed Jun 12, 2018
    Clone proc blocks as well so they have their own frame etc.
Commits on Jun 11, 2018
  1. Always cast return value to return type. Fixes #5204.

    headius committed Jun 11, 2018
    This issue was discovered by implementing an interface that
    returns a JRuby type, like RubyArray. Because the JRuby types
    implement IRubyObject, the logic for casting was not used, when at
    least the cast should be present in all cases.
Commits on May 30, 2018
Commits on May 25, 2018
Commits on May 24, 2018
Commits on May 23, 2018
  1. Make remaining array-based variables non-volatile.

    headius committed May 23, 2018
    The field-based variables we used by default during 9.1.x already
    were not volatile, which is the direction we want to move people.
    Volatility should be achieved through libraries like
    concurrent-ruby, or added to Ruby as a way to declare volatility
    at class definition time (attr_accessor :foo, volatile: true).
    
    The risk here seems small since 99% of variable accesses have
    already been nonvolatile for over a year, all major concurrency
    libraries are using the proper mechanisms that don't require
    instance variable volatility, and we have received no bugs where
    nonvolatile field-based variables were the cause.
  2. Limit generated reification to 10 since accessors etc are static.

    headius committed May 23, 2018
    Without this we would generate N-wide objects, but never use more
    than the first ten fields.
    
    This also fixes an indy issue because we constructed the base
    VariableAccessor as the fallback, which does not have the
    "checked" set and get logic indy expected to bind to.
Commits on May 21, 2018
  1. Merge branch 'jruby-9.1'

    headius committed May 21, 2018
Commits on May 17, 2018
  1. Fix hardcoded rake test launcher path and missing jruby home.

    headius committed May 17, 2018
    Moving rake and test-unit to bundled gems broke this.
Commits on May 16, 2018
  1. Merge branch 'master' into new_reify_classes

    headius committed May 16, 2018
  2. Merge pull request #3807 from jruby/jrubyc-initialize

    headius committed May 16, 2018
    [ji] allow for initialize() to be a valid Java method
Commits on May 15, 2018
  1. Merge pull request #5173 from jruby/update_json

    headius committed May 15, 2018
    Update json + tests to 2.1 and update excludes.
  2. Update json + tests to 2.1 and update excludes.

    headius committed May 15, 2018
  3. Switch to scanf default gem.

    headius committed May 15, 2018
  4. Switch to csv default gem.

    headius committed May 15, 2018
  5. Switch to cmath default gem.

    headius committed May 15, 2018
  6. Alphabetize and reformat.

    headius committed May 15, 2018
  7. Whitespace cleanup.

    headius committed May 15, 2018