Skip to content
Commits on Feb 1, 2016
  1. @headius

    Bump up src dist size check.

    headius committed
  2. @headius
  3. @headius

    Bind Class#new directly to initialize.

    headius committed
    The logic here to bind initialize when calling the basic Class#new
    is as follows:
    
    * Filter the incoming self (the class we're newing) with the class
      allocator.
    * Fold in a call site for the initialize method. This binds like
      a normal dynamic call with all appropriate guards.
    * Return the self produced by the allocate call.
    
    With this change, any Class#new call that uses the base new logic
    should go directly via MethodHandles to the associated initialize
    method, allowing everything to inline.
  4. @headius

    Bind attribute accessors as direct instance variable accesses.

    headius committed
    This works for both field-based (reified) and array-based instance
    variables. Performance of red/black improves by about 30% with
    this change.
  5. @headius

    Improve constant caching and factor logic out.

    headius committed
    ConstantLookupSite now handles all constant lookup cases:
    
    * Lexical+hierarchical search in searchConst
    * Hierarchical search in inheritanceSearchConst
    * LexicalSearch in lexicalSearchConst (for defined?)
    
    Up to now, all three forms would cache one recent constant and
    replace that binding on invalidation. This is obviously slow
    when there are more than one possible constant value (lookups in
    different hierarchies, for example) so I have modified it to chain
    a series of bindings. This chain is currently not limited, and
    that should be fixed; but the current logic improves red/black by
    around 12%.
Commits on Jan 29, 2016
  1. @headius

    Remove unconditional warning here.

    headius committed
    I believe this was left in from dev time when we were still
    sorting out how to treate evals with blocks. The common case that
    produces the warning is from #3541, when a Symbol#to_proc is used
    for an instance_exec or instance_eval. These are valid uses of
    the proc and work correctly (using the receiver as the "self" for
    the proc's symbol dispatch).
    
    Because all the remaining block bodies that would trigger this
    warning are Java-based blocks without any concept of frame/scope
    binding, and since they still honor the incoming self, I'm going
    to just remove the warning.
    
    Fixes #3541.
  2. @headius
  3. @headius

    Restructure reified ivar classes.

    headius committed
    * Introduce common superclass.
    * Separate hierarchies to avoid VM issues and long constructor
      chains.
    * Fix up indy bootstrap logic to work with the new structure.
  4. @headius
  5. @headius
Commits on Jan 27, 2016
  1. @headius

    Align verified startup with unverified command line.

    headius committed
    * Don't re-pass JRUBY_OPTS to Main.
    
    Fixes #3620.
Commits on Jan 26, 2016
  1. @headius

    Fixes to Time and BigDecimal for #3616.

    headius committed
    * BigDecimal#to_r was not producing correct results.
    * Time.at was not attempting to coerce using to_r.
    * Time.at rational logic was over-complicated.
    
    Fixes #3616 and untags a few specs.
  2. @headius
  3. @headius
  4. @headius
Commits on Jan 25, 2016
  1. @headius

    Bump to latest jruby-openssl.

    headius committed
  2. @headius
  3. @headius
  4. @headius
Commits on Jan 21, 2016
  1. @headius
Commits on Jan 20, 2016
  1. @headius
  2. @headius
  3. @headius
  4. @headius @kares

    Fix bad merge of SkinnyMethodAdapter spec.

    headius committed with kares
    The "let" used on master was getting assigned the result of the
    "expect" calls merged in from jruby-1_7.
  5. @headius
  6. @headius
  7. @headius
  8. @headius
  9. @headius

    Fix typo.

    headius committed
  10. @headius
Commits on Jan 19, 2016
  1. @headius
  2. @headius

    Fixes for jrubyc --java(c) for #3599.

    headius committed
    * Don't error when target script has root level method defs.
    * Do error when target script does not contain class defs.
    * Update --help doco to clarify usage.
  3. @headius

    Merge pull request #3602 from smellsblue/cache-constructed-proxies-pa…

    headius committed
    …rt-2
    
    Fix cache-constructed-proxies
  4. @headius
  5. @headius
Something went wrong with that request. Please try again.