Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 6fff8e1ac0 Partial Trust fixes:
- Added accessor methods for "slot" to Method & Constructor.
- Implemented System.setIn0, setOut0, setErr0 in map.xml.
- Hacked sun.misc.SharedSecrets to replace Unsafe.ensureClassInitialize() with direct calls.
- Replaced java.nio.Bits.byteOrder() with simple System.BitConver.IsLittleEndian based implementation.
- Disabled DynamicMethodSupport when running in partial trust.
- Ignore SecurityException in CanonicalizePath.
- Don't trigger load of JNI assembly when "loading" a fake system library.
2007-12-28 14:55:33 +00:00
jfrijters e2c7ceb1d5 - Moved some calls to methods with a LinkDemand (that fails in partial trust) to a separate methods.
- Added stuff to map.xml to remove the need for reflection in VM / Library bootstrap.
- Inverted IKVM.Runtime.JNI dependency in stack walking code.
2007-12-27 15:16:49 +00:00
jfrijters 6cd0a9e34b Restructured VM <-> Library interface to take advantage of InternalsVisibleTo to remove public methods and reflection usage. 2007-12-19 11:28:09 +00:00
jfrijters 220166a19e Changed LibraryVMInterfaceImpl.getWrapperFromClass() and getWrapperFromClassLoader() from using reflection to a map.xml implementation to improve performance.
It turns out that Constructor.newInstance() calls Class.getModifiers() which indirectly uses getWrapperFromClass() and using reflection significantly affected deserialization performance.
2007-09-19 09:35:57 +00:00
jfrijters 52ca831faa Added workaround for OpenJDK bug. 2007-08-23 09:26:46 +00:00
jfrijters caa5e544b3 - Added workaround for java.net.DatagramSocket.receive() bug.
- Removed unused code.
2007-08-22 11:44:06 +00:00
jfrijters 20235b06e8 Changed AtomicBoolean.value field to int to be serialization compatible with JDK. 2007-08-08 09:23:07 +00:00
jfrijters 17682f98e9 Added hack to work around bootstrap issue in java.nio.charset.spi.CharsetProvider. 2007-08-07 07:38:27 +00:00
jfrijters 619c89079f Added support for "loading" fake native libraries from VFS and removed hack to bypass loadLibrary() call in System.initializeSystemClass(). 2007-07-05 11:53:06 +00:00
jfrijters 6f0f66d444 Switched to javac compiler for building OpenJDK sources. 2007-07-04 12:20:52 +00:00
jfrijters 42d9acd333 - Imported a modified version of AbstractQueuedSynchronizer that is more efficient and doesn't use reflection & unsafe to reduce initialization order dependencies.
- Changed unsafe to use more efficient internal helper class to copy Field and make it accessible (this also reduces initialization order dependencies).
2007-06-29 08:48:22 +00:00
jfrijters 506e7a6584 - Implemented java.util.concurrent.locks.LockSupport.
- Fixed race condition in Thread.interrupt() that could cause cli.System.Threading.ThreadInterruptedException to be thrown from interruptable waits/sleep.
2007-06-28 14:00:10 +00:00
jfrijters 5ce13f3b9d Integrated OpenJDK's java.io.FileDescriptor, FileInputStream, FileOutputStream & RandomAccessFile. 2007-06-18 09:16:19 +00:00
jfrijters d2c9597e11 Removed NormalizerDataReader specific workaround and fixed InputStreamWrapper in a more generic way. 2007-06-15 06:47:03 +00:00
jfrijters 250e871b00 Added workaround for OpenJDK bug. 2007-06-14 06:42:23 +00:00
jfrijters 8d84b3d0cd Implemented the hooks to set the system class loader to the entry assembly's class loader if java.class.path and java.ext.dirs properties aren't set. 2007-06-12 12:54:20 +00:00
jfrijters 470c7ab6d6 Replaced zip library loading hack with new method call replacement hack. 2007-06-12 11:47:11 +00:00
jfrijters 6994c34acc - Integrated OpenJDK's java.lang package.
- Integrated OpenJDK's java.util.regex package.
- Integrated OpenJDK's java.text.Normalizer and support classes.
- New StringHelper.java based on OpenJDK's String.java.
- More fixes to Reflection.getCallerClass()
2007-06-11 09:17:29 +00:00
jfrijters eb23eacd45 - Integrated OpenJDK's java.lang.System and friends.
- Fixed a couple of OpenJDK Thread issues.
2007-06-09 08:33:09 +00:00
jfrijters 0f1840aa0d Integrated OpenJDK's java.lang.Thread 2007-06-05 06:57:18 +00:00
jfrijters 49fd637bdb First batch of OpenJDK integration code. 2007-05-24 09:23:02 +00:00