This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r140747 - in /branches/gcj/classpath-098-merge-...


Author: gandalf
Date: Mon Sep 29 02:22:27 2008
New Revision: 140747

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140747
Log:
Merge Daniel Frampton's ThreadLocal patch.

2008-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* classpath/ChangeLog,
	* classpath/java/lang/InheritableThreadLocal.java,
	* classpath/java/lang/Thread.java,
	* classpath/java/lang/ThreadLocal.java:
	Merge Daniel Frampton's ThreadLocal patch.
	* gcj/javaprims.h: Updated.
	* java/lang/Thread.h: Regenerated.
	* java/lang/Thread.java:
	Replace WeakIdentityHashMap with ThreadLocalMap.
	(getThreadLocals()): Likewise.
	* java/lang/ThreadLocal.h: Regenerated.
	* java/lang/ThreadLocal.java:
	(computeNextHash()): New method.
	(ThreadLocal()): Initialise fastHash.
	(internalGet()): Updated to match Classpath's get().
	(internalSet(Object)): Likewise for set(Object).
	(internalRemove()): Likewise for remove().


Modified:
    branches/gcj/classpath-098-merge-branch/libjava/ChangeLog
    branches/gcj/classpath-098-merge-branch/libjava/classpath/ChangeLog
    branches/gcj/classpath-098-merge-branch/libjava/classpath/java/lang/InheritableThreadLocal.java
    branches/gcj/classpath-098-merge-branch/libjava/classpath/java/lang/Thread.java
    branches/gcj/classpath-098-merge-branch/libjava/classpath/java/lang/ThreadLocal.java
    branches/gcj/classpath-098-merge-branch/libjava/classpath/lib/java/lang/InheritableThreadLocal.class
    branches/gcj/classpath-098-merge-branch/libjava/classpath/lib/java/lang/Thread.class
    branches/gcj/classpath-098-merge-branch/libjava/classpath/lib/java/lang/ThreadLocal.class
    branches/gcj/classpath-098-merge-branch/libjava/gcj/javaprims.h
    branches/gcj/classpath-098-merge-branch/libjava/java/lang/Thread.h
    branches/gcj/classpath-098-merge-branch/libjava/java/lang/Thread.java
    branches/gcj/classpath-098-merge-branch/libjava/java/lang/ThreadLocal.h
    branches/gcj/classpath-098-merge-branch/libjava/java/lang/ThreadLocal.java


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]