Permalink
Commits on Jun 10, 2013
  1. Use the mach_time only on iOS

    Directly querying the CPU should work on all X86 machines
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Jun 10, 2013
  2. Fixed issue reported by Clang

    - looks like an incomplete refactoring
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Jun 10, 2013
  3. Fixed build on OSX10.8

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Jun 10, 2013
  4. Minor whitespace cleanup.

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Jun 10, 2013
Commits on Oct 24, 2012
  1. Changing bytecode dispatch from using a switch/case to an explicit di…

    …spatch table
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Oct 24, 2012
Commits on Aug 29, 2012
  1. Fixed primitiveMultiply

    - also removed 0 check from multiply bytecode, not needed with that implementation approach
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 29, 2012
  2. Negation missing

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 29, 2012
  3. primitiveCopyObject seems to work

    - removed warning
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 29, 2012
  4. Fixed primitivePerformInSuperclass

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 29, 2012
Commits on Aug 23, 2012
  1. Moved newActiveContext into header

    - internal version was there before as well
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 23, 2012
Commits on Aug 22, 2012
  1. Don't make it `const` when we return `this`

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 22, 2012
  2. Removing the notion of internal execution mode and sprinkle more `con…

    …st` throughout the codebase
    
    - internal execution mode is an optimization of the SqueakVM, which is supposed to allow IP and SP to be kept in registers. They are actual local variables of a large unfolded bytecode interpreter loop
    - in the RoarVM, such a loop does not exist and there is not difference between localIP and instructionPointer anymore, thus, I removed them, with the hope of reducing code duplication, and unnecessary transfers between the execution modes
    
    - this is highly experimental and might be reverted!!!
    #warning
    #experiment
    #might-be-reverted
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 22, 2012
Commits on Aug 21, 2012
  1. split up the assert to see exactly what is failing

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Mar 18, 2012
  2. Fix off-by-one error in topRemappableOop

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Mar 18, 2012
  3. Updated FilePlugin to have the std file handles available for the Pha…

    …ro image and cmd output
    
    - the next commit will fix a bug in the RoarVM that is required to be able to use the updated file plugin
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Mar 17, 2012
  4. Added VMParameter 0, returning RVM encoded as ASCII to the image

    - enables easy detection of RoarVM
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 21, 2012
Commits on Aug 12, 2012
  1. Refactored [internal]activateNewMethod()

    - extracted common code
    - reduced code duplication and improved structure
    [backport from OmniVM]
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 12, 2012
  2. Added `const` modifiers

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 12, 2012
Commits on Aug 11, 2012
  1. Extended the debug print facilities

    - also needed to enable querying for the current execution state of the interpreter (internal or external) to have the print do the correct thing and avoid triggering assertions during debugging
    - backport form OmniVM
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 11, 2012
  2. Added flag to be able to disable context switches during debugging

    - backport from OmniVM
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Aug 11, 2012
Commits on Apr 16, 2012
  1. Use mach_absolute_time for OSX and iOS

    - the other method did not work on iOS and the required header was moved for new OSX versions
    - this one should be more stable over different OSX versions
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 16, 2012
  2. Fix improper refactoring of iOS code

    - method needed to be static
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 16, 2012
  3. Fix iOS project

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 16, 2012
Commits on Apr 14, 2012
  1. Replaced the is_superclass_of with a traditional isKindOf implementation

    - also implemented the related adapter method
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 14, 2012
Commits on Apr 8, 2012
  1. Fixed process primitives that did not allow subclasses of process

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 8, 2012
  2. Missed a check that needs to use Using_Processes, too

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 8, 2012
  3. Introduce Using_Processes and Using_Threads flags

    - first step to provide a process-based version of the VM on x86/commodity systems
    - merge from the process branch, the flags are the right abstraction even without the support
    
    Conflicts:
    
    	vm/src/heap/memory_system.cpp
    	vm/src/image_readers/squeak_image_reader.cpp
    	vm/src/interpreter/obsolete_named_primitive_table.cpp
    	vm/src/runtime/rvm_config.h
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 8, 2012
  4. gtest submodule was out of sync

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 8, 2012
  5. Fix building tests with Xcode

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 8, 2012
  6. Thread locals are not available on OSX, but should be used on Linux

    - I added this proper flag to be able to compare the performance impact between the two options on Linux, but never got around to actually measure it
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Apr 8, 2012
Commits on Mar 2, 2012
  1. Fixed incomplete introduction of Use_ThreadLocals

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Mar 2, 2012
  2. Make use of __thread thread-locals a separate configuration option

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Mar 2, 2012
Commits on Feb 25, 2012
Commits on Feb 24, 2012
  1. Offset parameter was lost and mmap was done on wrong region of the ba…

    …cking file
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Feb 24, 2012
  2. Added test coverage targets

    - a partial one for certain things, and a complete one that is still not fully working
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    committed Feb 24, 2012