summaryrefslogtreecommitdiffstats
path: root/libart/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'libart/src/main/java')
-rw-r--r--libart/src/main/java/java/lang/Thread.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libart/src/main/java/java/lang/Thread.java b/libart/src/main/java/java/lang/Thread.java
index 5c81e36..4b28ba1 100644
--- a/libart/src/main/java/java/lang/Thread.java
+++ b/libart/src/main/java/java/lang/Thread.java
@@ -125,7 +125,7 @@ public class Thread implements Runnable {
public static final int NORM_PRIORITY = 5;
/* some of these are accessed directly by the VM; do not rename them */
- private volatile int nativePeer;
+ private volatile int vmData;
volatile ThreadGroup group;
volatile boolean daemon;
volatile String name;
@@ -684,7 +684,7 @@ public class Thread implements Runnable {
* @see Thread#start
*/
public final boolean isAlive() {
- return (nativePeer != 0);
+ return (vmData != 0);
}
/**
@@ -832,7 +832,7 @@ public class Thread implements Runnable {
public final void setDaemon(boolean isDaemon) {
checkNotStarted();
- if (nativePeer == 0) {
+ if (vmData == 0) {
daemon = isDaemon;
}
}