Skip to content
Commits on May 4, 2010
  1. @headius
Commits on May 2, 2010
  1. @headius

    Final fixes and test for JRUBY-4264: threadContextMap leaks RubyThrea…

    headius committed May 2, 2010
    …d on death of adopted thread
  2. @headius

    Associate non-Ruby threads in ThreadService for JRUBY-3742: Java nati…

    headius committed May 1, 2010
    …ve threads are not added to ThreadService.rubyThreadMap after being adopted.
  3. @headius

    Fixes for the fixes for JRUBY-3742: Java native threads are not added…

    headius committed Apr 30, 2010
    … to ThreadService.rubyThreadMap after being adopted.
    
    * Make the weak RubyThreadMap actually use the reference queue (doh!)
    * Revert the threadContextMap to a weak map (doh!)
  4. @headius

    Add block callback offline generation for jrubyc --handles. Should no…

    headius committed May 2, 2010
    …w allow "complete" offline compilation of scripts.
  5. @headius

    Don't let Finalizer hold a reference to associated object and use pro…

    headius committed May 1, 2010
    …per logic for getting an ID to use.
Commits on May 1, 2010
  1. @headius

    Implement struct-by-value parameter and return type support for FFI c…

    Wayne Meissner committed with headius Apr 24, 2010
    …allbacks.
Commits on Apr 30, 2010
  1. @headius

    Add the ability to pre-generate all method handles when compiling a .…

    headius committed Apr 30, 2010
    …rb file (--handles flag to jrubyc).
  2. @headius

    Fix SHA1 hashing logic for codeCache and add a --sha1 flag to jrubyc …

    headius committed Apr 29, 2010
    …to do the same thing.
Commits on Apr 29, 2010
  1. @yokolet
  2. @headius

    Fix for JRUBY-4764: Leaking fileno to ChannelDescriptor mappings in R…

    headius committed Apr 29, 2010
    …uby.retainedDescriptors.
    
    This change remains on master, but I'm reverting it on 1.5 because the old weak map is a known quantity that worked for years. We'll continue to explore a hard map + finalizers on master for 1.6, and I'll file a bug for that work.
    
    Revert "No need to use a weak map for fileno to ChannelDescriptor, since in C land unclosed fd's live forever too. Eliminates special need for a hard map for sysopen and weak reference management for all other IOs."
    
    This reverts commit 0c012c7.
    
    Conflicts:
    
    	src/org/jruby/Ruby.java
  3. @headius
  4. @headius
Commits on Apr 28, 2010
  1. @nicksieger
Commits on Apr 27, 2010
  1. @headius

    Fix for JRUBY-4760: File.open throws Errno::ENOENT when file inside j…

    headius committed Apr 27, 2010
    …ar is accessed using ".." (doubledot) in the path
  2. @headius
  3. @headius

    Partial fix for too-big methods (JRUBY-2621 and JRUBY-4757): chunk 10…

    headius committed Apr 27, 2010
    …0%-literal arrays and hashes.
Commits on Apr 26, 2010
  1. @enebo
  2. @headius

    Temporary fix for JRUBY-4749: require 'rbconfig' fails on GAE because…

    headius committed Apr 26, 2010
    … of NullPointerException
  3. @headius

    Fix for JRUBY-4747: read_nonblock error with couchrest

    headius committed Apr 26, 2010
    Looks like the missing logic for us was that when defining Errno classes we're supposed to reuse the same class for the same value. On the platform I tested, EAGAIN and EWOULDBLOCK are the same value, and so the rescue EWOULDBLOCK in couchrest rescues EAGAIN too.
  4. @headius

    Fix re-coercion of a previously interface-duck-typed Ruby object to j…

    headius committed Apr 26, 2010
    …ava.lang.Object; it should from then on return the interface impl object. Broke jruby-rack because the assignable check continued returning RubyObject even if there was a contained duck-typed impl.
  5. @nicksieger
  6. @headius
  7. @headius

    Arity-split RubyBignum#to_s for JRUBY-4751: Java call to RubyBignum.t…

    headius committed Apr 25, 2010
    …o_s() returns generic object representation
Commits on Apr 24, 2010
  1. @headius

    Improvements for NailMain:

    headius committed Apr 24, 2010
    * Use a single ClassCache across runs, to avoid re-jitting and re-loading code in each instance
    * Fire a System.gc after releasing the client, to avoid repeat calls growing the heap unnecessarily
Commits on Apr 23, 2010
  1. @headius
  2. @headius

    Fixes (and more) for JRUBY-4737: Compatibility issue with Spring prop…

    headius committed Apr 23, 2010
    …erty from 1.4.0 to 1.5.0.RC1
    
    It appears that JRuby 1.4.0 allowed various objects to coerce to "void" by returning null, so this commit fixes that.
    
    In addition, I've tried to unify some of the toJava logic, making most implementations call super.toJava if they can't coerce to the requested type (allowing RubyBasicObject's implementation to try some other avenues or error out). I also added some additional coersion cases for Time to java.util.Calendar, java.sql.Date/Time/TimeStamp, and joda's DateTime (it already did java.util.Date).
  3. @headius

    Fix failing threadpool tests by making RubyThreadMap accept null keys…

    headius committed Apr 23, 2010
    … like WeakHashMap did.
  4. @headius

    Fixes for JRUBY-4732: Clean up anything that calls dataGetStruct on a…

    headius committed Apr 22, 2010
    … wrapped Java object to get the object
Commits on Apr 22, 2010
  1. @chrisa @headius

    Use a ReferenceQueue to track dying thread and remove their RubyThrea…

    chrisa committed with headius Mar 8, 2010
    …d and
    
    ThreadContext entries.
    
    Modified to encapsulate the weak collection by Charles Oliver Nutter <headius@headius.com>
  2. @headius

    Fix JRUBY-4715 FFI::StructByValue missing layout and struct_class met…

    Wayne Meissner committed with headius Apr 13, 2010
    …hods
  3. @calavera @nicksieger

    JRUBY-4742: fix NPE when File::Stat doesn't find a file into a jar

    calavera committed with nicksieger Apr 22, 2010
    Signed-off-by: Nick Sieger <nick@nicksieger.com>
Commits on Apr 21, 2010
  1. @headius

    Fixes for JRUBY-4724 and JRUBY-4725

    headius committed Apr 21, 2010
    JRUBY-4724: Java class equality operator is order dependent
    JRUBY-4725: to_java_object no longer exists
  2. @dekellum @nicksieger

    Add jruby.gem.(path|home) property support for rubygems. (Take 2)

    dekellum committed with nicksieger Apr 18, 2010
    Fix for JRUBY-4729.
    
    Signed-off-by: Nick Sieger <nick@nicksieger.com>
  3. @dekellum @nicksieger

    Add jruby.bindir property override to RbConfig::CONFIG[bindir] (Take 2)

    dekellum committed with nicksieger Apr 18, 2010
    Signed-off-by: Nick Sieger <nick@nicksieger.com>
Something went wrong with that request. Please try again.