14613193fa
include return address size in frameSize passed to vmInvoke; fix printf warnings
2009-05-28 19:50:44 -06:00
2608a2ee43
progress towards powerpc continuation and tail call support
2009-05-26 19:02:39 -06:00
717f359666
implement "callee pops arguments" calling convention and refactor tail call code accordingly
2009-04-19 16:36:11 -06:00
a1ec71423e
Merge branch 'master' into powerpc
...
Conflicts:
makefile
src/assembler.h
src/binaryToMacho.cpp
src/compile.cpp
src/compiler.cpp
src/x86.cpp
2009-02-09 16:22:01 -07:00
20cf42c5e4
more work on boot image creation
2008-11-23 16:58:01 -07:00
6e3bbd3c5f
Merge branch 'master' of oss:/var/local/git/avian into powerpc
2008-07-17 17:34:52 -06:00
920034e231
use JavaVMInitArgs instead of JDK1_1InitArgs in JNI_CreateJavaVM; support -Xbootclasspath option
2008-07-14 11:02:43 -06:00
23043d140f
snapshot
2008-07-05 14:21:13 -06:00
0ccf8d57ea
rough sketch of powerpc support
2008-06-04 16:21:27 -06:00
584e1005e3
Fix Mac compiler warnings for fprintf format strings
2008-04-24 11:07:20 -06:00
479c48f1dd
fix printf warning
2008-04-15 23:26:58 -06:00
2edaa82801
prepend copyright notice and license to all source files; add license.txt and readme.txt
2008-02-19 11:06:52 -07:00
a8e9cc521c
move some generally useful bitset functions from heap.cpp to common.h
2008-01-06 12:21:38 -07:00
8e7f3b6821
add force_align_arg_pointer attribute to divideLong and moduloLong functions for OSX
2007-12-27 08:28:25 -07:00
b3918a0d7d
support encoding instructions with indexed and scaled memory offsets
2007-12-13 18:59:56 -07:00
49ed41daa0
refactor stack walking interface in processor.h and sketch stack walking implementation in compile2.cpp
2007-11-25 16:00:55 -07:00
eb3bd1ce7c
Got strip working for Mac OS X
2007-11-01 14:37:51 -06:00
625f0006c9
Fixed typo for Mac OS X builds
2007-11-01 14:06:26 -06:00
7f33b7371b
Factored JNIEXPORT into one place. Adopted the visbility attribute that
...
should allow strip to work on Mac OS X
2007-11-01 14:00:22 -06:00
7f1837fecd
move fixed object (mark and sweep) support into heap.cpp and refine algorithms for determining when and how much to GC
2007-10-28 13:14:53 -06:00
60072b9fdc
implement fixed object support
2007-10-27 19:54:30 -06:00
a81b77a37e
fixes i2f i2d implementation. Fixes image drawing bugs on Mac OS X.
...
Also fixes a crash caused by implementing StringBuffer.toString(float)
2007-10-25 14:26:51 -06:00
1c90ea5fd6
rewrite main.cpp to use jni.h interface for creating the VM and invoking the main method of the specified class
2007-10-25 09:04:13 -06:00
5bfd90cfed
more system-specific tweaks for windows port
2007-10-24 10:24:02 -06:00
58dec050c8
sketch of windows port
2007-10-22 19:00:57 -06:00
ac4b28ffe6
refactor build system to support cross-compiling
2007-10-22 14:56:27 -06:00
5f6258045e
implement various floating point instructions; fix Floats.java to actually test something
2007-10-15 13:12:38 -06:00
5a92852f74
stack mapping progress
2007-10-12 08:26:36 -06:00
3e1dbab0f0
move bitmap helper functions to common.h; preserve callee-saved registers in vmInvoke()
2007-10-11 20:52:16 -06:00
2f3f97d550
clean up compile.cpp and support both x86_64 and i386; further refactoring to support JIT
2007-09-26 17:23:03 -06:00
e7c8fb645a
JIT works for Instructions.java
2007-09-25 17:53:11 -06:00
8d983c8a39
refactoring effort to pave the way for JIT compilation
2007-09-23 19:39:03 -06:00
65a3ee4277
superficial tweaks
2007-09-21 08:16:43 -06:00
36f1d3206e
The proper extension for Mac JNI libraries is .jnilib. Hard-coded constants
...
have been factored to common locations. Furthermore, the LD_LIBRARY_PATH
environment variable is DYLD_LIBRARY_PATH on Mac OS X.
2007-09-20 10:13:41 -06:00
a3ef7f2b94
slightly more efficient implementation of pad()
2007-09-19 18:11:19 -06:00
c9332e4615
Mac unsigned argument is different than other platforms
2007-09-19 10:26:08 -06:00
f430f3f00e
Various fixes (mostly making things more strict) to get the code to
...
compile on Mac OS X
2007-09-19 10:22:19 -06:00
b88438d2fd
sketch of JAR support in Finder
2007-09-16 18:13:36 -06:00
bd4d9fdeb2
several things: change object typedef to Object* instead of void* to improve type safety; add JNICALL attributes to JNI functions; implement additional JavaVM methods
2007-09-06 18:21:52 -06:00
59638543c7
various performance tweaks and bugfixes
2007-08-19 13:45:51 -06:00
89609e11c9
implement floating point instructions
2007-08-13 08:06:31 -06:00
9ab88ef619
a static jni method takes the jclass for that method as its second argument; simplify pad() and divide(), and rename divide() to ceiling(); sketch FileInputStream.cpp and FileOutputStream.cpp
2007-07-25 18:48:28 -06:00
b57e1eee76
allocate root thread on heap, not stack
2007-07-20 17:26:13 -06:00
0f7a2137bf
factor system.cpp and class-finder.cpp out of main.cpp
2007-07-20 08:36:31 -06:00
dc8232eddf
store frame data on the stack, not the heap
2007-07-05 19:06:06 -06:00
38cea04322
progress towards thread support
...
This includes support for using the least significant bits of the class
pointer to indicate object state, which we'll use to indicate the
presence of a monitor pointer, among other things.
2007-07-01 15:34:22 -06:00
2057e72956
more JNI work
2007-06-28 20:58:48 -06:00
137fdcb69e
specify a more conservative initial capacity in initNextGen{1,2}()
2007-06-22 17:29:15 -06:00
3a6da507ec
various GC bugfixes
2007-06-22 14:55:11 -06:00
91b9dc7382
various bugfixes
2007-06-20 15:27:22 -06:00