Permalink
Commits on Aug 6, 2011
  1. fix Logging test for tails=true build

    dicej committed Aug 6, 2011
    In the tails=true build, the calling method cannot always be
    determined due to stack frames being optimized away, so we must be
    prepared for LogRecord.getSourceMethodName to return null.
Commits on Jul 26, 2011
  1. strip leading slashes from name in ZipFile.getEntry

    dicej committed Jul 26, 2011
    This is necessary to allow resource loading of the form
    Foo.class.getResourceAsStream("/foo.txt") from JAR files.
Commits on Jul 18, 2011
  1. accept (but currently ignore) -client and -server options for command…

    dicej committed Jul 18, 2011
    …-line compatibility with java
  2. fix crash when encountering invokespecial call to abstract method

    dicej committed Jul 18, 2011
    We must throw an AbstractMethodError when such a call is executed (not
    when the call is compiled), so we compile this case as a call to a
    thunk which throws such an error.
  3. request an object mask when allocating a singleton

    dicej committed Jul 18, 2011
    Singletons may have embedded object references, and if they are
    allocated at fixed memory locations (e.g. if they are larger than
    64KB), they must have object masks so the garbage collector knows were
    to find said references.
  4. add debug logging to finder.cpp

    dicej committed Jul 18, 2011
  5. increase HeapCapacity to 256MB in bootimage.cpp

    dicej committed Jul 18, 2011
    This is necessary to avoid running out of memory when building
    bootimages of certain apps with OpenJDK using ProGuard'ed code.
Commits on Jul 17, 2011
  1. memoize padding calculations in x86.cpp

    dicej committed Jul 17, 2011
    These calculations were appearing high on profiles of apps which force
    a lot of methods to be compiled at startup.
  2. fix crash in BranchEvent::compile for bootimage builds

    dicej committed Jul 17, 2011
    We can't reduce a conditional branch to an unconditional jump unless
    both arguments to the comparison are constants *and* those constants
    have been resolved.  The latter may not be true in the case of a
    bootimage build.
Commits on Jul 14, 2011
  1. fix stack unwinding from native methods for tails=true build

    dicej committed Jul 14, 2011
    We can't clear t->trace->targetMethod until after findUnwindTarget has
    been called or we'll lose track of where we are on the stack.
Commits on Jul 13, 2011
  1. add new System::Monitor::waitAndClearInterrupted method

    dicej committed Jul 13, 2011
    We had be using System::Monitor::wait to block threads internally in
    the VM as well as to implement Object.wait.  However, the interrupted
    flag should only be cleared in the latter case, not the former.  This
    commit adds a new method and changes the semantics of the old one in
    order to acheive the desired behavior.
Commits on Jul 12, 2011
  1. fix Cygwin 1.7.x build

    dicej committed Jul 12, 2011
    Recent versions of Cygwin's GCC no longer support the -mno-cygwin flag
    (compilation works, but linking fails).  However, Cygwin now includes
    mingw64-i686-gcc, mingw64-x86_64-gcc, and related packages, so we use
    those compilers instead.  This has the added benefit that we can build
    native x86_64 binaries on Cygwin now.
    
    This will break the build for old Cygwin installs, so it will be
    necessary to upgrade Cygwin and install the aforementioned packages to
    build Avian going forward.
  2. fix Thread.interrupt and Thread.interrupted

    dicej committed Jul 12, 2011
    These were both totally broken; the latter wasn't even implemented.
    This commit fixes/implements them and adds a simple test to exercise
    them.
Commits on Jul 11, 2011
  1. convert classpath paths to absolute paths

    dicej committed Jul 11, 2011
    This is necessary because some apps expect CodeSource.getLocation() to
    return URL containing an absolute path.
  2. use getcwd instead of getenv("PWD") to get workding directory

    dicej committed Jul 11, 2011
    The PWD environment variable is not always set; getcwd is more
    reliable.
Commits on Jul 10, 2011
Commits on Jul 8, 2011
Commits on Jul 6, 2011
  1. fix reversed arguments to maybeRex in sseMoveRR

    dicej committed Jul 6, 2011
    This was causing 8-byte SSE-to-SSE moves involving registers
    xmm8-xmm15 to be misencoded on x86_64, leading to incorrect code
    generation in methods with lots of local variables of type double.
Commits on Jul 1, 2011
  1. fix various ObjectOutputStream/ObjectInputStream bugs

    Anonymous committed with dicej Jul 1, 2011
Commits on Jun 21, 2011
  1. Changes for protobuf support

    Topher Lamey committed with dicej Jun 21, 2011
  2. Changes for protobuf support

    Topher Lamey committed with dicej Jun 21, 2011
Commits on Jun 20, 2011
  1. fix Set[Static]DoubleField regression for 32-bit platforms

    dicej committed Jun 20, 2011
    We were truncating 64-bit doubles to 32-bit values with zany results.
Commits on Jun 17, 2011
  1. Additions for Protobuf support

    Topher Lamey committed with dicej Jun 17, 2011
  2. Additions for Protobuf support

    Topher Lamey committed with dicej Jun 17, 2011
Commits on Jun 3, 2011
  1. Revert "Updated powerpc build to disable stack overflow checks for no…

    dicej committed Jun 3, 2011
    …w due to a problem we found with large enums."
    
    This reverts commit 8e73632.
Commits on Jun 2, 2011