Joel Dice
e31f795661
include Thread::backupHeapIndex in heap footprint calculation
2008-07-11 19:21:53 -06:00
Joel Dice
b1f24079ec
fix race condition in compile function (part 2)
2008-07-11 18:14:30 -06:00
Joel Dice
dc52bae1cf
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-07-11 18:11:29 -06:00
Joel Dice
0b79ab4fed
fix race condition in compile function
...
1. Thread A calls function F, which needs to be compiled. So it
compiles it.
2. Thread B calls function F, sees that it's already been compiled and
so runs it.
3. Thread B calls function G from function F, and G needs to be
compiled, but it needs to acquire the class lock first, which A owns.
4. Thread A causes a GC, walks thread B's stack, but function F has not
yet been added to the method tree, so it thinks the stack has no frames.
5. Thread A finally adds function F to the method tree.
6. Thread A causes another GC and walks thread B's stack again, and
this time it finds function F in the method tree.
7. AAAARRRRRGGGHHH!!!!!!
2008-07-11 18:11:13 -06:00
Joel Dice
23043d140f
snapshot
2008-07-05 14:21:13 -06:00
Eric Scharff
bba4f75c2f
Tweaked code indentation and formatting to match existing style
2008-07-03 10:49:08 -06:00
Joel Dice
befdfa4e9e
add copyright header to CharSequence.java
2008-07-03 09:36:55 -06:00
Zsombor
e3fd0d9c7d
add a few classes and methods to the classpath
...
Add java.lang.CharSequence, java.util.AbstractSet,
java.util.AbstractCollection, Collections.unmodifiableSet,
System.getProperty(String,String), etc.
2008-07-03 09:16:32 -06:00
Joel Dice
107ac01304
fix addCR and subtractCR for cases of 64-bit constants on amd64
2008-07-02 08:52:35 -06:00
Joel Dice
0f94bea5a6
fix stress test breakage when throwing ArrayIndexOutOfBoundsExceptions
2008-06-27 09:09:14 -06:00
Joel Dice
9388b6e2ce
pass O_TRUNC to open in FileOutputStream.open
2008-06-26 15:58:14 -06:00
J. Treadwell
ee8f5a8cd8
First powerpc.cpp with actual ppc assembling (incomplete)!
2008-06-25 17:35:01 -06:00
Joel Dice
65f9f3583c
uncomment MAKEFLAGS = -s
2008-06-25 17:17:04 -06:00
Joel Dice
9bea21dec7
add copyright header to files which don't already have them
2008-06-25 14:53:48 -06:00
Joel Dice
61e65098df
use virtual dispatch when calling Thread.run from VM
2008-06-25 10:28:11 -06:00
Joel Dice
a85cf0115d
fix makefile for building on linux
...
This may break OS X PowerPC, but I don't have such a machine to test on
at the moment.
2008-06-24 14:58:58 -06:00
Joel Dice
8512d6c74c
Merge branch 'master' of oss:/var/local/git/avian into powerpc
2008-06-23 17:38:16 -06:00
Joel Dice
2716169110
update version number to 0.1.1
2008-06-17 17:30:00 -06:00
Joel Dice
3d84f31c13
fix longCompareCR on 64-bit systems
2008-06-17 09:32:46 -06:00
Joel Dice
575df206cd
fix System.currentTimeMillis on Windows
2008-06-17 09:05:57 -06:00
Eric Scharff
86a5e9ba8a
Removed debugging that should not have been checked in
2008-06-16 11:47:54 -06:00
Joel Dice
f8d33eb141
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-06-16 11:45:30 -06:00
Joel Dice
af794d9be0
implement Date.toString, which just defers to ctime for now (part 2)
2008-06-16 11:45:23 -06:00
Eric Scharff
de2db39275
Merge branch 'master' of ssh://oss.readytalk.com/var/local/git/avian
2008-06-16 10:56:48 -06:00
Eric Scharff
2bfe6f0d13
Ensure we align the stack before any time we might enter a C function from
...
generated code
2008-06-16 10:55:29 -06:00
Joel Dice
4694d75553
implement Date.toString, which just defers to ctime for now
2008-06-16 10:08:51 -06:00
dicej
04724b657d
hello, world!
2008-06-15 14:17:52 -06:00
dicej
fb6624b9ae
add cfm_vectors to JNIEnvVTable to match jni.h on OSX
2008-06-15 12:51:04 -06:00
dicej
32f4feb4aa
use LOCAL macro to mark local symbols in *.S
2008-06-15 12:49:37 -06:00
dicej
a9ae50900a
define LinkageArea in powerpc.h and add the latter to makefile
2008-06-15 12:48:53 -06:00
dicej
b1750c0c9a
fix powerpc.S syntax errors
2008-06-15 12:28:48 -06:00
dicej
358f3f801b
Merge branch 'master' of oss.ecovate.com:/var/local/git/avian into powerpc
2008-06-15 11:48:05 -06:00
Joel Dice
b683d836c3
implement longCompareRR
2008-06-12 11:23:20 -06:00
Joel Dice
6f5cc9f45f
fix unused parameter warning
2008-06-12 11:09:53 -06:00
Joel Dice
e9c37f5ffd
add more tests of operations on longs to Misc.java
2008-06-12 11:00:43 -06:00
Joel Dice
eabb37e6eb
add lcmp instruction to Compiler and corresponding LongCompare instruction to Assembler, since that's the only efficient way to implement the lcmp bytecode on x86
2008-06-12 10:56:48 -06:00
Joel Dice
357acbdb0f
implement move4To8CR, which just defers to moveCR
2008-06-11 08:59:05 -06:00
Joel Dice
94f7efc160
ignore contents of stack location in popNow if the value already resides elsewhere besides the stack
2008-06-11 08:47:06 -06:00
Joel Dice
633ef83fa1
fix handling of values which appear more than once on the stack in trySteal
2008-06-10 18:48:46 -06:00
Joel Dice
b80a3cea85
handle constant comparisons (sometimes generated by ProGuard) in compiler
2008-06-10 18:17:44 -06:00
Joel Dice
dc136bb751
fix stack tracking weirdness for jsr instruction
2008-06-10 18:16:02 -06:00
Joel Dice
5b2065e76c
only elide constant multiply if constant is one, not zero (duh)
2008-06-10 18:14:15 -06:00
Joel Dice
fc8c5a2ea9
fix a few bugs revealed by ProGuard optimizations, including too-early constant propagation during array loads and stores
2008-06-10 08:49:13 -06:00
Joel Dice
064ba4519a
update version number to 0.1
2008-06-08 15:51:11 -06:00
Joel Dice
4b67adaa0a
sketch vmNativeCall implementation for powerpc
2008-06-08 13:47:37 -06:00
Joel Dice
ca6215c720
start fleshing out powerpc.S
2008-06-06 08:55:16 -06:00
dicej
f375f6e85c
enable powerpc build for process=interpret (won't run yet, though)
2008-06-04 17:09:09 -06:00
dicej
9e0f0a17a7
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian into powerpc
2008-06-04 16:22:46 -06:00
dicej
0ccf8d57ea
rough sketch of powerpc support
2008-06-04 16:21:27 -06:00
Joel Dice
ec791a90de
fix process=interpret build
2008-06-04 16:17:06 -06:00