Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 9, 2015
  1. @dicej
Commits on Nov 3, 2015
  1. @dicej

    Merge pull request #464 from benstadin/master

    dicej committed
    - fixed building for iOS 9
Commits on Oct 20, 2015
  1. @dicej
Commits on Oct 19, 2015
  1. @dicej

    add bootimage-test option to makefile

    dicej committed
    This option specifies that the test classes should be AOT-compiled
    along with the class library, which allows us to test that everything
    works in AOT-compiled form as well as JIT-compiled form.  This is
    primarily motivated by the need to test d906db6 (support for
    AOT-compilation of Java 8 lambda expressions).
    Note that I had to tweak Misc because it tested something that
    couldn't be done in an AOT build without a lot of extra work, and
    SystemClassLoader.getPackage because it was returning null when the
    requested package could not be populated with JAR manifest metadata.
    Technically, we probably *should* return null for packages that don't
    exist at all (in the sense that no classes have been loaded from such
    a package), but tracking that kind of thing seems like more trouble
    than it's worth unless someone complains about it.
Commits on Oct 12, 2015
  1. @dicej

    disable TravisCI artifact publication

    dicej committed
    This stopped working recently, apparently due to obsolete
    credentials.  Since no-one is actually using these artifacts as far as
    we are aware, I'm just disabling the task so the build doesn't
    continue to fail.
Commits on Sep 28, 2015
  1. @dicej

    Merge pull request #456 from joshuawarner32/master

    dicej committed
    reorganize docker files, upgrade to java 8, gcc 4.9
Commits on Sep 13, 2015
  1. @dicej

    support AOT-compilation of Java 8 lambda expressions

    dicej committed
    These expressions are tricky because they rely on invokedynamic, which
    normally implies runtime code generation.  However, since lambdas
    don't actually use the "dynamicness" of invokedynamic, we can convert
    them into static calls to synthetic classes at compile time.
    Since I had already written code to synthesize such classes in Java
    and I didn't want to rewrite it in C++, I needed to add support for
    running Java code to the bootimage generator.  And since the primary
    VM used by the generator is purpose-built to generate AOT-compiled
    code for a specific target architecture and is not capable of
    generating or running JIT-compiled code for the host architecture, I
    added support for loading a second, independent, host-specific VM for
    running Java code.
    The rest of the patch handles the fact that each method compilation
    might cause new, synthetic classes to be created, so we need to make
    sure those classes and their methods are included in the final heap
    and code images.  This required breaking some giant code blocks out of
    makeCodeImage into their own methods, which makes the diff look
    scarier than it really is.
  2. @dicej

    Merge pull request #446 from bgould/master

    dicej committed
    Added targets for Eclipse environment descriptor.
  3. @dicej

    Merge pull request #453 from joshuawarner32/master

    dicej committed
    ignore leading / for files on Windows (fixes #452)
  4. @dicej

    optionally specify reentrancy when creating a System object

    dicej committed
    This allows multiple Avian VMs to share the same process space,
    provided they don't try to use functionality that involves global
    shared resources (e.g. signal handling).
  5. @dicej

    avoid calling unrelated JNI methods during class initialization

    dicej committed
    The main goal here is to avoid making JNI calls from code that really
    shouldn't need JNI (e.g. before this patch, ArrayList.add called
    Math.max, which called Math.<clinit>, which called Random.<init>,
    which called System.currentTimeMillis).
    Besides following the "pay for only what you need" principle, this
    change ensures we can call LambdaMetaFactory methods during AOT
    compilation with a minimal VM (i.e. without compiling in JNI methods
    we don't need).
Commits on Aug 8, 2015
  1. @dicej


    dicej committed
    This wasn't meant to be checked in long-term.
Commits on Aug 6, 2015
  1. @dicej

    allow building with Java 7

    dicej committed
  2. @dicej
  3. @dicej

    add support for openjdk=$JDK8_HOME

    dicej committed
    All tests pass for the process=compile build.  Next step: process=interpret.
  4. @dicej

    implement basic Java 8 lambda support

    dicej committed
    The two big pieces here are basic invokedynamic support and a working
    version of LambdaMetaFactory.metafactory.  The latter works by
    dynamically building a synthetic class with three methods: a static
    factory method, a constructor for the factory method to call, and a
    method to satisfy the requested interface which defers to the
    specified MethodHandle.
    This work relies heavily on Avian's specific MethodType and
    MethodHandle implementations, which provide extra, non-standard
    features to make code generation easier.  That means we'll probably
    need to use Avian's versions of java.lang.invoke.* even when building
    with the OpenJDK or Android class libraries.
Commits on Jul 7, 2015
  1. @dicej

    fix GC crash for bootimage builds

    dicej committed
    In a bootimage=true build, we create allocate certain objects as
    "immortal fixies", which means they will never been deallocated at
    runtime and should only be visited if/when they point to objects which
    might move during garbage collection.  However, there was a bug in the
    following case:
     1. immortal fixie F is updated to point to a movable object M and
     thus F is added to the list of fixies to visit during the next minor
     collection (but not the next major one, since all reachable objects
     are visited during a major collection, and there's no point in
     visiting an unreachable object, whereas during a minor collection we
     have to visit F because we don't know if it's reachable or not)
     2. a major collection occurs, but F is not reachable and thus is not
     visited, whereas M is moved
     3. a minor collection occurs, and since F is still in the list, it is
     visited, but since it contains a stale pointer to M's old location,
     we crash
    The solution is to ensure unreachable immortal fixies are removed from
    the above list after each major collection, thus guaranteeing they
    won't be visited on any subsequent collection.
Commits on Jun 24, 2015
  1. @dicej

    Merge pull request #441 from bigfatbrowncat/cp_fix2

    dicej committed
    fixed abs() compilation for Android classpath on OSX
Commits on Jun 23, 2015
  1. @dicej

    fix GCC 5.1 compiler warnings/errors

    dicej committed
    GCC is a lot more sensitive about -Werror=unused-variable, to the
    point that stuff declared in header files but unused in a given
    compilation unit is flagged.  This may be due to the way we're
    here's the fix.
Commits on May 12, 2015
  1. @dicej
  2. @dicej
Commits on May 8, 2015
  1. @dicej

    Merge pull request #434 from joshuawarner32/master

    dicej committed
    fix concurrency bugs on ios+arm64 in `enter`
Commits on May 4, 2015
  1. @dicej
  2. @dicej

    Merge pull request #431 from joshuawarner32/all-heapdump

    dicej committed
    Always include heapdump code
  3. @dicej

    Merge pull request #432 from joshuawarner32/master

    dicej committed
    Fix openjdk-src build after #425
Commits on May 1, 2015
  1. @dicej

    Merge pull request #430 from joshuawarner32/master

    dicej committed
    Fixes for arm64, new clang, new ios SDK
Commits on Apr 7, 2015
  1. @dicej

    fix windows publish regression

    dicej committed
  2. @dicej
Commits on Mar 19, 2015
  1. @dicej

    Merge pull request #427 from bgould/master

    dicej committed
    Added java.util.Formatter implementation. Basic/common formats work,
Commits on Mar 16, 2015
  1. @dicej

    Merge pull request #425 from joshuawarner32/size_t

    dicej committed
    use size_t instead of unsigned in a bunch of appropriate places
  2. @dicej

    ensure exits with error when any test fails

    dicej committed
    As explained in,
    "set -e" will only cause the script to exit if the failing command is
    "unhandled".  The fancy || and && shortcuts we were using to run some
    of the tests caused bash to think we were handling the errors, which
    isn't what we wanted.
  3. @dicej

    update version to 1.3.0-SNAPSHOT

    dicej committed
  4. @dicej

    update version for release

    dicej committed
  5. @dicej

    add support for iOS/x86_64

    dicej committed
  6. @dicej

    delete lib dir in clean target

    dicej committed
Something went wrong with that request. Please try again.