Commit Graph

228 Commits

Author SHA1 Message Date
Joel Dice
1c90708abf bugfixes for recent refactoring effort 2007-09-24 07:46:48 -06:00
Joel Dice
8d983c8a39 refactoring effort to pave the way for JIT compilation 2007-09-23 19:39:03 -06:00
Joel Dice
65a3ee4277 superficial tweaks 2007-09-21 08:16:43 -06:00
Joel Dice
3838cd0e68 strip leading slashes from path in JarElement::find()/exists() 2007-09-21 08:15:39 -06:00
Eric Scharff
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
Joel Dice
a688a6f61a use lib%s.dylib to map library names on Darwin 2007-09-19 18:37:25 -06:00
Joel Dice
54cabf9240 align SP to 16 byte boundary on Darwin in cdecl.S 2007-09-19 18:36:35 -06:00
Joel Dice
1d68f87f75 remove unnecessary .type declaration from amd64.S 2007-09-19 18:12:08 -06:00
Joel Dice
a3ef7f2b94 slightly more efficient implementation of pad() 2007-09-19 18:11:19 -06:00
Joel Dice
9de7f39ceb Merge branch 'master' of dice:git/vm 2007-09-19 17:51:26 -06:00
Joel Dice
28f6f29477 eliminate instructions from *.S which restored the stack pointer unnecessarily 2007-09-19 17:29:20 -06:00
Eric Scharff
ebdc192f64 .type call was unnecessary - now removed 2007-09-19 10:35:13 -06:00
Eric Scharff
e5c8cb4e41 Reverted the assembly, since the Mac didn't support this anyway 2007-09-19 10:27:48 -06:00
Eric Scharff
c9332e4615 Mac unsigned argument is different than other platforms 2007-09-19 10:26:08 -06:00
Eric Scharff
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
Joel Dice
8b17df5b48 set verbose constants to false in heap.cpp 2007-09-19 08:33:43 -06:00
Joel Dice
cd990969cd fix allocation of large objects in allocate2(); remove references to jscheme and SWT in makefile and test directory 2007-09-19 08:16:49 -06:00
Joel Dice
49a3c08cc9 use dlopen()/dlsym() to resolve builtin JNI methods 2007-09-18 17:30:09 -06:00
Joel Dice
b0bb443fa2 fix i2l to preserve signedness 2007-09-17 16:16:17 -06:00
Joel Dice
1f6c2dbbb1 implement Set<Primitive>ArrayRegion() 2007-09-17 16:15:42 -06:00
Joel Dice
8af76b0da6 fix several bugs in Finder involving jar file parsing and extraction 2007-09-17 08:11:41 -06:00
Joel Dice
dc9ae3d269 fix interpretation of stat() return value in System::identify() 2007-09-17 07:16:55 -06:00
Joel Dice
59d26362fa mark zlib return values as UNUSED to fix fast build 2007-09-17 07:16:00 -06:00
Joel Dice
b88438d2fd sketch of JAR support in Finder 2007-09-16 18:13:36 -06:00
Joel Dice
aec0c29084 fix math bug in parseFieldTable which lead to incorrect objectMasks 2007-09-15 11:22:22 -06:00
Joel Dice
912617c4ff gc safety bugfixes 2007-09-14 18:32:32 -06:00
Joel Dice
223e6bff0f gc protection bugfix 2007-09-14 18:23:32 -06:00
Joel Dice
e76e4ccdf0 protect local object variable in multianewarray 2007-09-14 17:05:06 -06:00
Joel Dice
4ade402f1b bugfixes; SWT ControlExample works on x86_32 2007-09-14 14:35:37 -06:00
Joel Dice
bb520e4ef9 bugfixes 2007-09-13 21:59:39 -06:00
Joel Dice
ce97b6eecb implement i2d and i2f 2007-09-13 19:42:12 -06:00
Joel Dice
b0926e71fb fix math errors when walking object map in collect()::Client::walk() 2007-09-13 16:45:09 -06:00
Joel Dice
dc34707f98 fix Call*Method() calls to wrong run() function 2007-09-13 10:43:33 -06:00
Joel Dice
542888a1d3 bugfixes 2007-09-12 21:15:16 -06:00
Joel Dice
7cb3a30a91 sketch of Runtime.exec() and Calendar; misc bugfixes 2007-09-12 18:21:37 -06:00
Joel Dice
cb03240c64 quick sketches of various SWT 3.3 dependencies 2007-09-11 19:13:05 -06:00
Joel Dice
132936ba2e fix backwards logic in System::Local assertions 2007-09-10 20:13:55 -06:00
Joel Dice
e5987f2a22 JNIEnv and JavaVM method implementations 2007-09-10 17:33:58 -06:00
Joel Dice
a9f9755221 more JNIEnvVTable entries 2007-09-07 17:20:21 -06:00
Joel Dice
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
Joel Dice
f72f95d7ca check for exceptions in invoke() 2007-08-28 17:38:47 -06:00
Joel Dice
b8de552797 re-implement System.getProperty to separate vm-specific properties from others 2007-08-27 07:46:17 -06:00
Joel Dice
009a743aa8 box primitive return values in invoke() 2007-08-23 18:22:28 -06:00
Joel Dice
256bcf04e0 fix Method.invoke() to handle polymorphism properly 2007-08-22 21:30:37 -06:00
Joel Dice
c6e1644281 fix bug in calculating GC footprint in new heap pool code 2007-08-22 20:24:25 -06:00
Joel Dice
00c611fcf9 Merge branch 'master' of dice:git/vm 2007-08-22 08:50:34 -06:00
Joel Dice
f148fd0668 add Machine::heapPool, allowing threads to acquire replacement heaps up to a point before forcing a GC 2007-08-22 08:50:29 -06:00
Joel Dice
a1caf06955 properly handle classes with no interface table in isAssignableFrom() 2007-08-21 22:03:03 -06:00
Joel Dice
57d57ff7bf use identity hash code in Object.toString() 2007-08-21 22:02:17 -06:00
Joel Dice
af6f2bbc46 always call bitsetHasMore() from bitsetNext(), regardless of whether assertions are enabled 2007-08-20 20:30:22 -06:00