Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 17, 2013
  1. @dbussink

    Make autoload thread safe

    dbussink authored
    The strategy here is to reuse the fact that require is already thread
    safe. This means we keep the autoload around and when a constant is
    defined, we add it to the autoload itself. Only the currently loading
    thread will see that constant for code loading.
    
    Other threads will still see the Autoload and try to load the file, this
    blocking until the loading is done and continue afterwards.
Commits on May 16, 2013
  1. @dbussink

    Implement public / private constants

    dbussink authored
    This passes all the current specs found in Rubyspec regarding private
    constants and when they should and should not be accessible.
Commits on Apr 19, 2013
  1. @dbussink

    Use Dispatch as the point to do method lookup on

    dbussink authored
    This makes GlobalCache less a dependency of other code, allowing to
    refactor it or remove it easier in the future.
    
    Also remove an apparently unused helper method.
Commits on Apr 2, 2013
  1. @dbussink

    Rename GlobalCacheEntry to ConstantCache

    dbussink authored
    These caches are specifically used for caching constants, so name them
    as such so it's more clear what they mean.
Commits on Jul 30, 2012
  1. @dbussink
Commits on Jul 5, 2012
  1. @dbussink

    Add GCToken for Autoload

    dbussink authored
    Because Autoload calls back into Ruby to load the source file, we should
    add a GCToken because it might GC. This adds the token and fixes cases
    where there would be variables on the C stack that we need to track.
Commits on Jul 1, 2012
  1. @dbussink

    Fix Autoload handling by properly reusing the current scope

    dbussink authored
    In the Autoload parts in the VM we now do the lookup again so it's much
    easier to do it with the correct current scope and we follow the same
    lookup mechanisms as a normal constant lookup.
    
    For this we modify the Helpers for const_get so it can filter a result
    so the autoload is filtered and the real class or a class with the same
    name higher in the hierarchy is returned.
Commits on Nov 1, 2011
  1. @evanphx
Commits on Oct 28, 2011
  1. @evanphx
Commits on May 14, 2011
  1. @dbussink

    Some stylistic cleanup

    dbussink authored
Commits on Dec 4, 2010
  1. Add a VM level bytecode verifier

    Evan Phoenix authored
Commits on May 21, 2010
  1. @dbussink
Commits on May 20, 2010
Commits on Mar 10, 2010
  1. @brixen
Commits on Apr 29, 2009
  1. Remove LookupTableAssociation, add GlobalCacheEntry

    Evan Phoenix authored
Commits on Mar 11, 2009
  1. @rue

    Fix Helper::locate_method_on() used by #respond_to?

    rue authored
    * Need to provide a CallFrame for the visibility context.
Commits on Feb 19, 2009
  1. @brixen
Commits on Feb 14, 2009
  1. @brixen

    Fixed issues with Message not being initialized.

    brixen authored
    A couple specialized constructors were added that minimize the number
    of initializations that are then assigned to. This ensures that the
    Message instance is fully initialized before being used and avoids
    an extra call to Message::setup. Effective C++ suggests the compiler
    may be able to emit better code in this case. Overall, the code for
    the send_* instructions is significantly cleaner.
Commits on Feb 5, 2009
  1. Remove task from execution logic, add code to run GC

    Evan Phoenix authored
Something went wrong with that request. Please try again.