Joel Dice
0899574bdb
remove accidentally-added files
2012-07-02 14:54:17 -06:00
Joel Dice
3c2adb86f5
Merge github.com:ReadyTalk/avian
2012-06-29 15:55:49 -06:00
Joel Dice
312a4cc985
Merge branch 'master' of git:avian into git-master
...
Conflicts:
makefile
src/machine.cpp
2012-06-29 15:47:52 -06:00
Joel Dice
365f863080
disable constant offset check when cross-compiling for a different word size
2012-06-28 16:21:24 -06:00
Joel Dice
0c28fd8289
fix C++11 errors in heapdump.cpp
2012-06-28 10:30:49 -06:00
Mike Jensen
e6e65ecfdc
The file already contains the leading slash. hotspot URL.getFile() also returns a leading slash, so instead of removing the leading slash on the file, we just wont append an extra one here
2012-06-28 10:24:35 -06:00
Joel Dice
a96f34709c
Merge branch 'master' of github.com:ReadyTalk/avian
2012-06-26 10:50:22 -06:00
Joel Dice
156644b8e5
fix incorrect array sizing in populateMultiArray
...
We were assuming the array element size was always the native word
size, which is not correct in general for primitive arrays, and this
led to wasted space at best and memory corruption at worst.
2012-06-26 10:43:47 -06:00
Joel Dice
cfd9dc6656
fix bug which failed to preserve source site during multi-word move
...
The compiler was failing to freeze the source site containing the
value of the second word in a multi-word move, leading to mis-compiled
code in some cases.
2012-06-26 08:39:23 -06:00
Joshua Warner
fe1f069309
abort on startup if Thread field offset constants don't match the real runtime values
2012-06-20 13:16:08 -06:00
Joel Dice
ac16a1a2ad
Merge remote branch 'oss/armvfp'
2012-06-20 08:35:09 -06:00
Joel Dice
65e7a911b5
fix incorrect 32-bit TargetThreadThunkTable value
2012-06-18 19:25:01 -06:00
Joel Dice
886dd184aa
fix incorrect stack unwinding for asynchronous stack traces
...
Our Thread.getStackTrace implementation is tricky because it might be
invoked on a thread executing arbitrary native or Java code, and there
are numerous edge cases to consider. Unsurprisingly, there were a few
lingering, non-fatal bugs revealed by Valgrind recently, one involving
the brief interval just before and after returning from invokeNative,
and the other involving an off-by-one error in x86.cpp's nextFrame
implementation. This commit fixes both.
2012-06-18 14:27:18 +00:00
Joel Dice
4512a9a38e
implement NewObjectA, Get<type>MethodA, and GetStatic<type>MethodA
2012-06-15 17:41:40 -06:00
Joel Dice
153b78f479
fix ArrayList performance issue
...
The ArrayList(Collection) constructor was allocating two arrays
instead of one due to an off-by-one error in ArrayList.grow. This
commit fixes that and makes grow and shrink more robust.
2012-06-14 10:55:03 -06:00
Joel Dice
c00f811a2f
initialize count_ from starting point in MyStackWalker(MyStackWalker*)
...
When we're initializing a stack walker based on an existing instance,
we should initialize all the fields from that instance, including
count_.
2012-06-14 09:58:20 -06:00
Joel Dice
f38f5699c6
preserve NetworkInterface fields since they're referenced from native code
2012-06-13 19:33:11 -06:00
Joel Dice
5a5a6a7795
fix C++11 errors and aliasing warning
2012-06-13 19:10:28 -06:00
Joel Dice
392120dd7d
Merge pull request #3 from mkeesey/master
...
TreeSet defers to underlying set for determining size instead of keeping its own tally
2012-06-13 16:11:56 -07:00
Mike Keesey
478560e269
Merge remote branch 'rtgithub/master' into mkgithubmaster
2012-06-13 15:36:21 -06:00
Mike Keesey
527526c5ea
Defer to underlying PersistentSet for size.
2012-06-13 08:41:15 -06:00
JET
f0c4762ded
ARM VFP support: Almost finished.
...
All but one test (and just one line therein) are passing. Several
quirks and optimizations must also be addressed.
2012-06-12 17:00:45 -06:00
Joel Dice
7bfb5a6287
fix native method name ambiguity
...
sun.misc.Unsafe now has two native getByte methods: one which takes a
long and another which takes an Object and a long. Thus, we need to
decorate each version with its parameter signature so we don't
accidentally call the wrong one at runtime.
2012-06-12 16:33:31 -06:00
Joel Dice
9dd3d04324
fix unused parameter warning in interpret.cpp
2012-06-12 16:32:53 -06:00
Joel Dice
06f7746dfd
fix mode=debug build for recent OpenJDK versions
2012-06-12 16:32:27 -06:00
Joel Dice
fa8ba2afc8
fix build for recent versions of OpenJDK 7
...
As of the latest code from the jdk7u-dev Mercurial repository,
java.lang.String no longer has offset or length fields. Instead, the
content fits exactly into the backing char array, so offset is
implicitly zero and length is the length of the array. The VM
previously relied on those fields being present, whereas this commit
handles the case where they are not.
In addition, I've made some changes to openjdk-src.mk to ensure that
we can build against both a stock OpenJDK 7 and an IcedTea-patched
version.
2012-06-11 23:30:22 +00:00
Joel Dice
165986841e
fix endianess bug in LZMA decoding
2012-06-06 12:58:24 -06:00
Joel Dice
ba6ca031bb
fix handling of no-argument options in bootimage.cpp
2012-06-05 13:53:13 -06:00
Joel Dice
f6299fdfe6
fix bootimage build regression
2012-06-05 13:33:29 -06:00
JET
11d750af70
single-precision hardfloat emission working
...
anything involving doubles (including conversions and thunking from
singles) is still broken
2012-06-04 12:39:53 -06:00
JET
714aebfec1
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian into armvfp
2012-06-04 12:39:45 -06:00
Joel Dice
7d8def84e0
fix build on old Xcode versions
2012-06-04 09:52:06 -06:00
Joel Dice
9ea6a28383
fix MSVC build regression
2012-06-04 09:51:11 -06:00
Joel Dice
84034c00a8
use GitHub URL for hello-ios.git link
2012-06-02 18:56:15 -06:00
Joel Dice
9520b03333
fix OS X build regressions
2012-06-02 18:56:07 -06:00
Joel Dice
d61501453f
add support for LZMA on Windows
2012-06-02 15:43:42 -06:00
Joel Dice
f07a8c7ec4
make LZMA encoder by default
2012-06-02 13:23:52 -06:00
Joel Dice
5d9f7b2bc3
add optional LZMA support for compressing embedded JARs, boot images, and shared objects
2012-06-02 09:06:22 -06:00
Joel Dice
bd7ef24734
pass -std=c++11 to Clang for C++ code
2012-06-01 17:57:42 -06:00
Joel Dice
879df617df
add use-clang option for building with LLVM Clang instead of GCC
...
This also fixes several errors and warnings emitted by Clang.
2012-06-01 17:43:42 -06:00
Joel Dice
b78c772ffb
fix C++11 narrowing conversion errors
2012-06-01 11:46:56 -06:00
JET
22abdd6e19
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian into armvfp
2012-05-29 17:15:01 -06:00
Joshua Warner
587ae00d80
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian into oss-ext
2012-05-24 08:36:37 -06:00
Joshua Warner
5d6899a867
fix warning in disassembler code
...
Apple's GCC is more picky about undefined ordering (and rightfully so)...
2012-05-24 08:36:21 -06:00
Joshua Warner
ca7ac1f5c8
fix warning in disassembler code
...
Apple's GCC is more picky about undefined ordering (and rightfully so)...
2012-05-24 08:34:46 -06:00
Joel Dice
f21863fd32
Merge remote-tracking branch 'origin/master'
2012-05-22 17:56:33 -06:00
Joel Dice
20ee660455
preserve classes needed for Unix filesystem access from ProGuard
...
It seems that there are new classes loaded via reflection or JNI in
OpenJDK needed for filesystem access, so we must tell ProGuard to
retain them.
2012-05-22 17:48:43 -06:00
Mike Keesey
1f7b1a74e8
Adding java.util.SortedSet.
2012-05-22 16:21:57 -06:00
Mike Keesey
97ffc5b15e
Adding java.util.Queue interface and java.util.AbstractQueue.
2012-05-22 15:23:28 -06:00
Mike Keesey
be869932d0
Adding @Target and the associated ElementType enum for specifying the type an annotation is.
2012-05-22 15:18:42 -06:00