--- a/jdk/src/java.base/share/classes/java/lang/ref/Reference.java Fri Dec 18 10:00:55 2015 -0800
+++ b/jdk/src/java.base/share/classes/java/lang/ref/Reference.java Tue Dec 22 13:41:12 2015 -0800
@@ -30,7 +30,6 @@
import jdk.internal.HotSpotIntrinsicCandidate;
import jdk.internal.misc.JavaLangRefAccess;
import jdk.internal.misc.SharedSecrets;
-import sun.misc.ManagedLocalsThread;
/**
* Abstract base class for reference objects. This class defines the
@@ -129,7 +128,7 @@
/* High-priority thread to enqueue pending References
*/
- private static class ReferenceHandler extends ManagedLocalsThread {
+ private static class ReferenceHandler extends Thread {
private static void ensureClassInitialized(Class<?> clazz) {
try {
@@ -148,7 +147,7 @@
}
ReferenceHandler(ThreadGroup g, String name) {
- super(g, name);
+ super(g, null, name, 0, false);
}
public void run() {