Skip to content
Commits on Jan 25, 2012
  1. @headius

    IR-to-JVM backend refactoring.

    * Move compilation snippits into instructions
    * Add argument to enable IR-to-JVM backend using -X+CIR
    * Modifications and tweaks to get simple code working again
    headius committed Jan 24, 2012
Commits on Jan 24, 2012
  1. @subbuss

    [IR] Minor simplification in 1.9 yield arg passing logic + added some

    comments about possible IR-instruction refactoring.
    subbuss committed Jan 25, 2012
  2. @headius

    Compiler fix for JRUBY-6377 and refactoring.

    I moved the shared logic to RuntimeHelpers and made the invariant
    "needsSplat" a field on both block types calculated on construct.
    headius committed Jan 24, 2012
  3. @subbuss
  4. @subbuss
  5. @enebo
  6. @enebo
  7. @subbuss
  8. @subbuss
  9. @subbuss
  10. @headius

    Fix JRUBY-6375

    Uninformative YAML parser error
    * Added better error message to match 1.9.3.
    headius committed Jan 24, 2012
  11. @subbuss
  12. @headius

    Fix JRUBY-6367.

    --pre command line switch not working in 1.9 runtime
    This is actually broken in both 1.8 and 1.9 modes, but only 1.9's
    optparse exposed it. We were not properly passing blocks through
    procified Method objects. Fixed MethodBlock and RubyMethod.bmcall
    to do that.
    headius committed Jan 23, 2012
Commits on Jan 23, 2012
  1. @headius
  2. @enebo

    Update jcodings to new 1.0.6

    enebo committed Jan 23, 2012
  3. @headius
  4. @BanzaiMan

    Make more general purpose, with pre- and po…

    …st-commands to run around "ant clean jar".
    BanzaiMan committed Jan 23, 2012
  5. @headius
  6. @headius

    Don't lock inside try for Mutex#synchronize.

    If the locking process blocks and is interrupted, or raises an
    error for some other reason, the unlock will erroneously produce
    errors since the lock is not locked. Found by @davetron5000.
    headius committed Jan 23, 2012
  7. @headius

    More invokebinder use.

    headius committed Jan 23, 2012
  8. @subbuss
  9. @enebo
  10. @subbuss

    [IR] [1.9] Was losing information about args-push in CompoundArray

    operand during operand simplifications.
    subbuss committed Jan 23, 2012
  11. @subbuss

    [IR] [1.9] Fixed bugs setting up block and method args in the presence

    of multiple-assigns, opt, and rest args.
    subbuss committed Jan 23, 2012
  12. @subbuss
Commits on Jan 22, 2012
  1. @headius
  2. @BanzaiMan
  3. @subbuss
  4. @subbuss
  5. @subbuss
  6. @subbuss
  7. @nahi @BanzaiMan

    [1.9] One-off fix for read_nonblock CPU 100% issue

    Replace "read_nonblock + timeout" in 1.9 stdlib with
    "Timeout.timeout + sysread" in 1.8's one.  With current JRuby,[io], nil, nil, timeout) could return promptly even if io is
    not readable. (I'm not sure the condition when it happens at this
    Because of this behavior, rbuf_fill in 1.9/net/protocol.rb
    fails to busy loop of io.read_nonblock and  As a workaround,
    this commit replaces rbuf_fill of 1.9 stdlib with 1.8's one which uses
    Timeout + sysread instead.
    sysread_nonblock + is introduced from perf concern.  JRuby has
    a better Timeout logic so this change should not affect users.
    I apply this change only for jruby-1_6 branch.  For 1.7, I'll try to
    solve this issue by fixing nonblocking IO at master.
    nahi committed with BanzaiMan Dec 27, 2011
Commits on Jan 21, 2012
  1. @subbuss

    [IR] Fixed a couple bugs with live variable analysis and dead code re…

    in the presence of evals and bindings.  For now, introduced conservative
    but safe checks that reduce dead code removal opportunities.  If better
    information is available at runtime, the same analysis will run better.
    For now, rubyspecs in 1.8 mode have the same failures with/without dead
    code removal turned on.
    subbuss committed Jan 21, 2012
  2. @subbuss
  3. @subbuss

    [IR] Added missing cloneForDepth method and removed unused clone

    method from ClosureLocalVariable.
    subbuss committed Jan 21, 2012
Something went wrong with that request. Please try again.