Commit Graph

912 Commits

Author SHA1 Message Date
Joel Dice
907382bcee fix broken field alignment in parseFieldTable which caused longs to overlap other fields on 32-bit systems in certain cases 2008-03-31 18:34:57 -06:00
Joel Dice
74295bb707 interpret avian.bootstrap property as a complete file name 2008-03-31 12:57:49 -06:00
Joel Dice
9bcc4dd4ed fix build for OSX 10.4 and below 2008-03-31 11:58:40 -06:00
Joel Dice
c37f0dcf18 fix darwin build 2008-03-30 22:23:51 -06:00
Joel Dice
357bd29460 support building Avian as a self-contained dynamic library 2008-03-30 21:43:43 -06:00
Joel Dice
91494d9081 add constructor to ByteBuffer 2008-03-28 18:08:08 -06:00
Joel Dice
6cddd10e0a various code cleanups, bug fixes, and compatibility fixes in NIO code 2008-03-25 16:17:29 -06:00
Joel Dice
3a208edbbc update NIO code to be more compatible with Java 2008-03-25 11:18:17 -06:00
Joel Dice
9cb21a29a6 fix handling of interface vtables for abstract classes 2008-03-21 17:42:36 -06:00
Joel Dice
50040b24f5 remove unused code from util.cpp 2008-03-21 14:33:44 -06:00
Joel Dice
c7a357aa5e implement l2d and l2f in interpret.cpp 2008-03-21 13:52:09 -06:00
Joel Dice
1b098c9267 implement ArithmeticException 2008-03-21 13:48:42 -06:00
Joel Dice
7dd9b96717 add additional methods and fields to class library 2008-03-20 18:40:18 -06:00
Joel Dice
8e1ec5794f implement java.util.Random and java.lang.Math.random in Java 2008-03-20 18:39:25 -06:00
Joel Dice
9fe2cbff43 implement l2d and l2f byte codes 2008-03-20 18:37:58 -06:00
Joel Dice
56389dd2e1 don't populate interface vtables for abstract classes 2008-03-20 18:37:21 -06:00
Joel Dice
d8889bd4d8 protect local variables from GC in jnienv.cpp 2008-03-20 18:36:53 -06:00
Joel Dice
a51c4cef39 bugfixes 2008-03-16 13:38:43 -06:00
Joel Dice
684b402e82 bugfixes and new instructions 2008-03-15 17:54:20 -06:00
Joel Dice
420a054fd8 support 1- and 2-byte moves to memory 2008-03-15 15:02:19 -06:00
Joel Dice
8141fc21b4 release base and index values of AbstractMemoryValue if necessary; bugfixes 2008-03-15 14:44:14 -06:00
Joel Dice
6bf0ca5bd9 various bugfixes and new instructions 2008-03-15 14:24:04 -06:00
Joel Dice
6a9fbc0c17 allow assembler to acquire and release temporary registers; new machine instruction implementations; bugfixes 2008-03-13 17:43:11 -06:00
Joel Dice
406f173982 handle constant array lengths and indexes properly; various bugfixes 2008-03-13 14:50:56 -06:00
Joel Dice
55d2fb8f57 specify doctitle, etc. when generating javadoc 2008-03-11 12:51:07 -06:00
Joel Dice
7cd79736c2 fix tracking of stack operations in compile.cpp 2008-03-11 10:57:35 -06:00
Joel Dice
c5b8b83cc7 clean up code for optimizing stack operations 2008-03-11 10:40:28 -06:00
Joel Dice
9e2e614a15 various fixes to get invokevirtual working 2008-03-10 16:37:21 -06:00
Joel Dice
a388ca19ee fix build for GCC 4.3
Note that this requires removing the -Wconversion flag for now.  I'll
see about restoring it when I'm ready to tackle all those warnings.
2008-03-10 13:49:10 -06:00
Joel Dice
0fe748c3a1 avoid unecessary mov instructions 2008-03-10 07:29:42 -06:00
Joel Dice
11dea0ad8e don't bother calling methods which are known do nothing 2008-03-10 07:28:21 -06:00
Joel Dice
9a0143594a clarify quick start in readme.txt 2008-03-10 07:27:42 -06:00
Joel Dice
b7f2f95c39 uncomment MAKEFLAGS = -s 2008-03-09 15:28:23 -06:00
Joel Dice
888836f8cd use push and pop for stack operations instead of mov 2008-03-09 15:27:51 -06:00
Joel Dice
7cfb89bd2a Merge branch 'master' into compiler 2008-03-09 11:31:55 -06:00
Joel Dice
6fa847518c add info about win32 repository to readme.txt 2008-03-07 16:34:57 -07:00
Joel Dice
315fc06a20 look for win32 headers and libraries in parent directory 2008-03-07 16:34:24 -07:00
Joel Dice
b0bdad231e remove spurious period from readme.txt 2008-03-06 13:46:44 -07:00
Joel Dice
fbc5463fb1 specify Avian version via a macro defined in makefile 2008-03-06 13:30:26 -07:00
Joel Dice
859f676f24 add introduction and build reqs to readme.txt 2008-03-06 13:29:25 -07:00
Joel Dice
ec3f42c66e allow test.sh to work in debug-fast and fast modes 2008-03-06 13:28:28 -07:00
Joel Dice
9fe00836f7 fix stack mapping code to do as many passes as necessary
Previously, we had been doing exactly two passes over the event log to
caculate the stack object reference map at each trace point.  It turns
out the correct number of passes depends on how many incorrect
assumptions we make about what the stack looks like at instructions with
multiple predecessors (i.e. targets of jumps and branches).

Each time we detect we've made one or more incorrect assumptions during
a pass, we must do another pass to correct those assumptions.  That pass
may in turn reveal further incorrect assumptions, and so on.
2008-03-05 14:44:17 -07:00
Joel Dice
7343eea558 Merge branch 'master' of oss:/var/local/git/avian 2008-03-05 14:22:04 -07:00
Joel Dice
3e7acd7861 fix backwards logic in Collections.toArray 2008-03-05 14:21:53 -07:00
Eric Scharff
89bc3bc4e7 Fix bug in StringBuilder.insert() 2008-03-05 12:10:59 -07:00
Joel Dice
1bca2e9e5d tweak Math.natRandom for Windows to guarantee we never return anything outside [0,1) 2008-02-29 12:49:00 -07:00
Joel Dice
3c237547ee fix Math.natRandom for Windows build 2008-02-29 12:39:09 -07:00
Joel Dice
51a731847a java.util code cleanup 2008-02-28 15:18:46 -07:00
Eric Scharff
e93ea33f82 Never inline calls to ResourceBundle.getBundle(...) 2008-02-28 12:38:44 -07:00
Joel Dice
35d4d19c07 Merge branch 'master' of oss:/var/local/git/avian 2008-02-28 11:37:14 -07:00