Permalink
Commits on Dec 30, 2014
  1. Allow Symbols to GC.

    headius committed Dec 30, 2014
    This is a somewhat naïve change, but it appears to maintain a
    stable memory profile during the following code:
    
    ```ruby
    i = 0; loop { i.to_sym; i+=1 }
    ```
    
    It also passes test:mri, test:jruby, and spec:ruby locally.
    
    Could it really be this easy?
  2. Depollute LOADED_FEATURES.

    headius committed Dec 30, 2014
    * enumerator.jar, complex.jar, rational.jar are now "provided" as
      faux already-required libraries.
    * Do the same for jruby.jar and java.jar, standard since 1.7.
  3. - Use primitive array instead of arraylist

    enebo committed Dec 30, 2014
    - null/empty args uses same instance for call arg list
    - simplify logic of buildCallArgs since it no longer needs attrassign logic in it
  4. Separate attrassign call arg building from the rest and give examples…

    enebo committed Dec 30, 2014
    … of three actual cases
  5. [Truffle] Set top-level visibility only in RubyContext.load and Truff…

    eregon committed Dec 30, 2014
    …leBridgeImpl.execute.
    
    * Since the meaning of ParserContext.TOP_LEVEL is unclear.
    * De-duplicate one call to RubyContext.execute.
  6. Revert "[Truffle] Top-level methods should be public by default."

    eregon committed Dec 30, 2014
    * This reverts commit 6be4fe2.
    * They should be private: $ ruby -e 'def m; end; p self.private_methods(false)'
Commits on Dec 29, 2014
  1. [Truffle] Added String#concat.

    nirvdrum committed Dec 29, 2014
  2. Remove no longer used constructor

    enebo committed Dec 29, 2014
  3. [Truffle] Always call block parameters 'block' so they aren't confuse…

    chrisseaton committed Dec 29, 2014
    …d with final parameters that just happen to take a RubyProc.
  4. [Truffle] Allow filename and line number arguments in Kernel#eval.

    nirvdrum committed Dec 29, 2014
    These parameters are currently ignored.  The semantics of eval continue to work fine in most cases with the ignored parameters, so I've committed this work in order to avoid issues in code that calls eval with the extra arguments, such as ERB.
  5. [Truffle] Make $_ thread local - at the same time as being frame local.

    chrisseaton committed Dec 29, 2014
    We achieve this by wrapping the value in a ThreadLocal when it's
    assigned, giving it the default value nil for other threads.
  6. [Truffle] Remove old guard.

    eregon committed Dec 29, 2014
  7. [Truffle] Remove incorrect specializations in Kernel#String.

    eregon committed Dec 29, 2014
    * Fixnum#to_s should be called.
  8. [Truffle] Remove useless RubyBignum specializations when RubyBasicObj…

    eregon committed Dec 29, 2014
    …ect is enough.
    
    * And fix Kernel#String(String).