2de750768b
add java.lang.reflect.Modifier.isInterface
2009-08-05 14:14:45 +00:00
b6e49d8a4c
refine gnu-overrides definition in makefile
2009-08-04 18:31:33 -06:00
7050448ec5
implement Class.{get|set}Signers
2009-08-04 18:31:14 -06:00
e18ab49f4d
always pass null instance to native version of Method.invoke when invoking static methods
2009-08-04 18:30:16 -06:00
63fa0668ff
avoid poor performance due to deeply-nested branches in MultiRead::intersect
2009-08-04 18:28:34 -06:00
e9ee4a618c
implement Avian_java_lang_VMClassLoader_defineClass
2009-08-04 18:27:04 -06:00
626c514373
add listFiles and isFile methods to java.io.File
2009-08-04 17:59:07 -06:00
590238bbfc
add indexOf and lastIndexOf methods to java.util.List
2009-08-04 17:58:31 -06:00
0a7f94abfe
add java.util.Collection.toArray()
2009-08-04 17:36:25 -06:00
7911989055
add AbstractList and AbstractSequentialList classes to java.util and listIterator methods to java.util.List
2009-08-04 17:24:29 -06:00
93597a4d1d
implement ArrayList.listIterator()
2009-08-04 11:34:46 -06:00
d5f4811b43
check for exception after calling resolveClass in parseInterfaceTable
2009-08-04 08:50:04 -06:00
f8bf83bfec
fix recent regression in findInHierarchy
2009-08-04 08:42:16 -06:00
aa6e3048b3
set os.arch property in Avian_gnu_classpath_VMSystemProperties_preInit
2009-08-03 16:18:41 -06:00
9f2abd5d8a
fix out-of-date JNI method implementations to reflect newer static field table layout
2009-08-03 16:18:16 -06:00
cb563f76e1
check superinterfaces when looking up methods and fields
2009-08-03 16:16:41 -06:00
4ae3a1267a
remove unused method
2009-08-03 16:16:01 -06:00
c3a8ca505c
avoid function pointer cast warning from GCC 3.4
2009-08-03 10:56:43 -06:00
08dd7d0a5a
Merge branch 'gnu'
2009-08-03 09:01:16 -06:00
80d4385cb8
implement blocking mode for SocketChannel and ServerSocketChannel
2009-08-03 08:58:56 -06:00
54ceb80116
implement stub versions of java.security classes
2009-08-03 08:56:19 -06:00
c5deeb2cda
preserve Thread.run(Thread) from elimination by ProGuard
2009-07-29 10:33:39 -06:00
ad0592df6f
print class name properly when throwing NoSuchMethodError
2009-07-29 10:32:16 -06:00
7060a5d4f0
clear Machine::byteArrayMap before generating boot image since it will not be used when the image is loaded
2009-07-28 17:22:07 -06:00
1b8777aa6b
free correct object in Context::dispose
2009-07-28 17:20:23 -06:00
8c18f27e89
avoid NPE in String.equalsIgnoreCase
2009-07-28 17:00:11 -06:00
5b23ad3f40
remove unused inner class in Tree.java
2009-07-28 16:58:33 -06:00
7b183e8f4e
don't run Java finalizers when exiting the VM
2009-07-28 16:58:01 -06:00
c2e9b3ed76
Commit to implement property os.arch for use in bug 8574
...
I had thought about using other means, ie using sysctl or utsname for
osx/linux....but this solution is more universal between OS's as well as
provided by the compiler, not via system operations
2009-07-28 10:16:27 -06:00
14e73560bb
fix order of operations in vmJump
2009-07-27 18:09:25 -06:00
ad66ae2691
disable debug logging
2009-07-27 18:09:12 -06:00
30be3945ae
update copyright year in TreeMap.java
2009-07-27 07:55:28 -06:00
0447d9bed3
use __MINGW32__ instead of __WINDOWS__ in x86.cpp and assume Linux if it's not defined
2009-07-27 07:49:54 -06:00
27d863790c
Merge branch 'win64' into gnu
...
Conflicts:
makefile
src/compile-x86.S
src/x86.S
src/x86.cpp
2009-07-25 20:48:36 -06:00
f869e5be21
Merge branch 'master' into gnu
...
Conflicts:
classpath/java/util/TreeSet.java
2009-07-25 18:38:57 -06:00
d3a249a3fa
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2009-07-25 18:36:27 -06:00
d327f6ba5a
implement java.util.TreeMap
2009-07-25 15:41:43 -06:00
08e9a99cb5
don't abort if pthread_kill fails in MySystem::visit
2009-07-24 19:03:33 -06:00
cc3289d88a
call pthread_kill unconditionally in Thread::interrupt() to ensure system calls such as epoll_wait are interrupted
2009-07-23 16:17:52 -06:00
29858a5299
implement Selector.selectNow() and select()
2009-07-23 13:08:41 -06:00
77f1bddce2
Revert "add avian.commit system property"
...
This reverts commit ed5be83467
.
2009-07-22 10:45:38 -06:00
ed5be83467
add avian.commit system property
2009-07-22 10:38:32 -06:00
3787985b25
implement basic finalization support
...
This implementation does not conform to the Java standard in that
finalize methods are called from whichever thread happens to be garbage
collecting, and that thread may hold locks, whereas the standard
guarantees that finalize will be run from a thread which holds no locks.
Also, an object will never be finalized more than once, even if its
finalize method "rescues" (i.e. makes reachable) the object such that it
might become unreachable a second time and thus a candidate for
finalization once more. It's not clear to me from the standard if this
is OK or not.
Nonwithstanding the above, this implementation is useful for "normal"
finalize methods which simply release resources associated with an
object.
2009-07-21 18:57:55 -06:00
afdab27e02
backport GC safety fixes from gnu branch
2009-07-20 14:32:25 -06:00
514d0bf7e5
fix deadlocks and other misbehaviors in class initialization code
2009-07-20 14:12:38 -06:00
9975a556fa
implement VMRuntime.exit
2009-07-20 14:11:41 -06:00
138f8444df
Merge branch 'master' into gnu
2009-07-20 08:27:33 -06:00
8662361f71
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2009-07-20 08:27:17 -06:00
d12b441aa1
restore state from subroutine after jsr to avoid later confusion determining basic block boundaries
2009-07-20 08:26:01 -06:00
47ab980550
fix thread heap overflow corner case in allocate3
...
The previous code relied on the invalid assumption that the thread-local
heaps for all threads would have been cleared immediately following a
garbage collection. However, the last thing the garbage collection
function does is run finalizers which may allocate new objects. This
can lead allocate3 to call allocateSmall with a size which is too large
to accomodate, overflowing the heap.
The solution is to iterate until there really is enough room for the
original allocation request.
2009-07-17 19:37:46 -06:00