harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r588187 [2/2] - in /harmony/enhanced/drlvm/trunk: src/test/harmony-1417/ src/test/jni/nio/ src/test/microbenchmark/harmony-2012/ src/test/microbenchmark/harmony-2223/ src/test/microbenchmark/harmony-2247/ src/test/microbenchmark/harmony-234...
Date Thu, 25 Oct 2007 10:08:23 GMT
Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H2873/RemTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2873/RemTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2873/RemTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2873/RemTest.java Thu Oct 25 03:07:43 2007
@@ -1,20 +1,20 @@
-package org.apache.harmony.drlvm.tests.regression.H2873;
-
-import junit.framework.TestCase;
-
-public class RemTest extends TestCase {
-    
-    public void testDcmp() throws Exception {
-        double d1 = 3.3d;
-        double d2 = Double.MIN_VALUE;
-        double dd = d1 % d2;
-        assertEquals(0.0d, dd);
-    }
-    
-    public void testFrem() throws Exception {
-        float f1 = 5.5f;
-        float f2 = Float.MIN_VALUE;
-        float ff = f1 % f2;
-        assertEquals(0.0f, ff);
-    }    
+package org.apache.harmony.drlvm.tests.regression.H2873;
+
+import junit.framework.TestCase;
+
+public class RemTest extends TestCase {
+    
+    public void testDcmp() throws Exception {
+        double d1 = 3.3d;
+        double d2 = Double.MIN_VALUE;
+        double dd = d1 % d2;
+        assertEquals(0.0d, dd);
+    }
+    
+    public void testFrem() throws Exception {
+        float f1 = 5.5f;
+        float f2 = Float.MIN_VALUE;
+        float ff = f1 % f2;
+        assertEquals(0.0f, ff);
+    }    
 }

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2873/RemTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2873/RemTest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2873/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2873/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H2874/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2874/Test.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2874/Test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2874/Test.java Thu Oct 25 03:07:43 2007
@@ -1,41 +1,41 @@
-package org.apache.harmony.drlvm.tests.regression.H2874;
-
-import junit.framework.TestCase;
-
-
-
-class aeo0 {
-    private long num;
-    public aeo0() { num = 0; }
-    public void inc(aeo1 i) { num++; }
-    public void inc1() { num++; }
-    public long getNum() { return num; }
-    public void reset() { num = 0; }
-}
-class aeo1 {
-}
-
-public class Test extends TestCase {
-    static final long limit = 100000000;
-    static aeo0 obj = new aeo0();
-
-    public void test() {
-        long before = 0, after = 0;
-        for (int i = 0; i < 5; i++) {    
-            obj.reset();
-            before = System.currentTimeMillis();
-            for (long k = 0; k < limit; k++ ) {
-                dofc(k);
-            }
-            after = System.currentTimeMillis();
-            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
-        }
-    }
-    static void dofc(long i) {
-        aeo1 i1 = new aeo1();
-        obj.inc1();
-        if (i<0) {
-            obj.inc(i1);
-        }
-    }
-}
+package org.apache.harmony.drlvm.tests.regression.H2874;
+
+import junit.framework.TestCase;
+
+
+
+class aeo0 {
+    private long num;
+    public aeo0() { num = 0; }
+    public void inc(aeo1 i) { num++; }
+    public void inc1() { num++; }
+    public long getNum() { return num; }
+    public void reset() { num = 0; }
+}
+class aeo1 {
+}
+
+public class Test extends TestCase {
+    static final long limit = 100000000;
+    static aeo0 obj = new aeo0();
+
+    public void test() {
+        long before = 0, after = 0;
+        for (int i = 0; i < 5; i++) {    
+            obj.reset();
+            before = System.currentTimeMillis();
+            for (long k = 0; k < limit; k++ ) {
+                dofc(k);
+            }
+            after = System.currentTimeMillis();
+            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
+        }
+    }
+    static void dofc(long i) {
+        aeo1 i1 = new aeo1();
+        obj.inc1();
+        if (i<0) {
+            obj.inc(i1);
+        }
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2874/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2874/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2874/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2874/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2899/ManyArgsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2899/ManyArgsTest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2899/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2899/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3110/FieldTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3110/FieldTest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3110/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3110/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3121/H3121.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3121/H3121.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3121/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3121/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3130/CallNativeTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3130/CallNativeTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3130/CallNativeTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3130/CallNativeTest.java Thu Oct 25 03:07:43 2007
@@ -1,10 +1,10 @@
-package org.apache.harmony.drlvm.tests.regression.h3130;
-
-import junit.framework.TestCase;
-
-public class CallNativeTest extends TestCase {
-   static { System.loadLibrary("CallNativeTest"); }
-
-   public native void testCallNative();
-   private native Object getNull();
+package org.apache.harmony.drlvm.tests.regression.h3130;
+
+import junit.framework.TestCase;
+
+public class CallNativeTest extends TestCase {
+   static { System.loadLibrary("CallNativeTest"); }
+
+   public native void testCallNative();
+   private native Object getNull();
 }

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3130/CallNativeTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3130/CallNativeTest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3130/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3130/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3150/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3150/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3150/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3150/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3175/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3175/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3175/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3175/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3216/ASETest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3216/ASETest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3216/ASETest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3216/ASETest.java Thu Oct 25 03:07:43 2007
@@ -1,19 +1,19 @@
-package org.apache.harmony.drlvm.tests.regression.h3216;
-
-import junit.framework.TestCase;
-
-public class ASETest extends TestCase { 
-    Object[] oo1 = new String[3];
-
-    public void testASE() { 
-        
-        Integer[] oo2 = new Integer[oo1.length]; 
-        for (int i=0; i<oo2.length; i++) { 
-            oo2[i] = new Integer(i); 
-        } 
-        try { 
-            System.arraycopy(oo2, 0, oo1, 0, oo1.length); 
-            fail("ArrayStoreException should be thrown");
-        } catch (ArrayStoreException ok) {} 
-    } 
-} 
+package org.apache.harmony.drlvm.tests.regression.h3216;
+
+import junit.framework.TestCase;
+
+public class ASETest extends TestCase { 
+    Object[] oo1 = new String[3];
+
+    public void testASE() { 
+        
+        Integer[] oo2 = new Integer[oo1.length]; 
+        for (int i=0; i<oo2.length; i++) { 
+            oo2[i] = new Integer(i); 
+        } 
+        try { 
+            System.arraycopy(oo2, 0, oo1, 0, oo1.length); 
+            fail("ArrayStoreException should be thrown");
+        } catch (ArrayStoreException ok) {} 
+    } 
+} 

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3216/ASETest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3216/ASETest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3216/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3216/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3228/H3228.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3228/H3228.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3228/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3228/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3256/InterruptTimedWaitingTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3256/InterruptTimedWaitingTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3256/InterruptTimedWaitingTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3256/InterruptTimedWaitingTest.java Thu Oct 25 03:07:43 2007
@@ -1,90 +1,90 @@
-package org.apache.harmony.drlvm.tests.regression.h3256;
-
-public class InterruptTimedWaitingTest {
-
-	Object lock = new Object();
-	int threadCount = 100;
-	int THREAD_WAIT_TIME = 10000;
-	int WAIT_CONDITION_TIME = 2000;
-	int SLEEP_TIME = 100;
-	int loopCountBegin = WAIT_CONDITION_TIME / SLEEP_TIME;
-	int loopCount;
-	int waitedTime;
-
-	class ThreadWaiting extends Thread {
-		volatile boolean exceptionReceived = false;
-		volatile boolean working = false;
-
-		public void run () {
-			synchronized (lock) {
-				this.working = true;
-				lock.notify();
-			}
-			synchronized (this) {
-				try {
-					this.wait(THREAD_WAIT_TIME);
-				} catch (InterruptedException e) {
-					exceptionReceived = true;
-				}
-			}
-		}
-	}
-
-	public void testInterrupt_Waiting() {
-		for (int i = 0; i < threadCount; i++) {
-			ThreadWaiting t = new ThreadWaiting();
-			try {
-				synchronized (lock) {
-					t.start();
-					while (!t.working) {
-						lock.wait();
-					}
-				}
-			} catch (InterruptedException e) {
-					e.printStackTrace();
-			}
-			
-			// wait for Thread.State.TIMED_WAITING
-			Thread.State ts = t.getState();
-			loopCount = loopCountBegin;
-			while ((ts != Thread.State.TIMED_WAITING) && (loopCount-- > 0)) {
-				ts = t.getState();
-				try {
-					Thread.sleep(SLEEP_TIME);
-				} catch (Exception e) {
-					e.printStackTrace();
-				}
-			}
-
-			// interrupt the thread
-			t.interrupt();
-
-			// wait for InteruptedException
-			loopCount = loopCountBegin;
-			while (!t.exceptionReceived && (loopCount-- > 0)) {
-				try {
-					Thread.sleep(SLEEP_TIME);
-				} catch (Exception e) {
-					e.printStackTrace();
-				}
-			}
-			waitedTime = (loopCountBegin - loopCount) * SLEEP_TIME;
-     		System.out.println(i + " exception waited for " + waitedTime + " ms");
-
-			// check for exception received
-			if (loopCount < 0) {
-				System.out.println(i + " FAILED: waiting thread has not received the InterruptedException");
-				System.exit(-1);
-			}
-			// check for interrupted status cleared
-			if (t.isInterrupted()) {
-				System.out.println(i + " FAILED: interrupt status has not been cleared");
-				System.exit(-2);
-			}
-		}
-	}
-
-	public static void main(String args[]) {
-		new InterruptTimedWaitingTest().testInterrupt_Waiting();
-	}
+package org.apache.harmony.drlvm.tests.regression.h3256;
+
+public class InterruptTimedWaitingTest {
+
+	Object lock = new Object();
+	int threadCount = 100;
+	int THREAD_WAIT_TIME = 10000;
+	int WAIT_CONDITION_TIME = 2000;
+	int SLEEP_TIME = 100;
+	int loopCountBegin = WAIT_CONDITION_TIME / SLEEP_TIME;
+	int loopCount;
+	int waitedTime;
+
+	class ThreadWaiting extends Thread {
+		volatile boolean exceptionReceived = false;
+		volatile boolean working = false;
+
+		public void run () {
+			synchronized (lock) {
+				this.working = true;
+				lock.notify();
+			}
+			synchronized (this) {
+				try {
+					this.wait(THREAD_WAIT_TIME);
+				} catch (InterruptedException e) {
+					exceptionReceived = true;
+				}
+			}
+		}
+	}
+
+	public void testInterrupt_Waiting() {
+		for (int i = 0; i < threadCount; i++) {
+			ThreadWaiting t = new ThreadWaiting();
+			try {
+				synchronized (lock) {
+					t.start();
+					while (!t.working) {
+						lock.wait();
+					}
+				}
+			} catch (InterruptedException e) {
+					e.printStackTrace();
+			}
+			
+			// wait for Thread.State.TIMED_WAITING
+			Thread.State ts = t.getState();
+			loopCount = loopCountBegin;
+			while ((ts != Thread.State.TIMED_WAITING) && (loopCount-- > 0)) {
+				ts = t.getState();
+				try {
+					Thread.sleep(SLEEP_TIME);
+				} catch (Exception e) {
+					e.printStackTrace();
+				}
+			}
+
+			// interrupt the thread
+			t.interrupt();
+
+			// wait for InteruptedException
+			loopCount = loopCountBegin;
+			while (!t.exceptionReceived && (loopCount-- > 0)) {
+				try {
+					Thread.sleep(SLEEP_TIME);
+				} catch (Exception e) {
+					e.printStackTrace();
+				}
+			}
+			waitedTime = (loopCountBegin - loopCount) * SLEEP_TIME;
+     		System.out.println(i + " exception waited for " + waitedTime + " ms");
+
+			// check for exception received
+			if (loopCount < 0) {
+				System.out.println(i + " FAILED: waiting thread has not received the InterruptedException");
+				System.exit(-1);
+			}
+			// check for interrupted status cleared
+			if (t.isInterrupted()) {
+				System.out.println(i + " FAILED: interrupt status has not been cleared");
+				System.exit(-2);
+			}
+		}
+	}
+
+	public static void main(String args[]) {
+		new InterruptTimedWaitingTest().testInterrupt_Waiting();
+	}
 }

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3256/InterruptTimedWaitingTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3256/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3256/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3256/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3256/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,7 +1,7 @@
-<project name="RUN HARMONY-3256 Regression Test">
-    <target name="run-test">
-        <run-pjava-test
-            test="org.apache.harmony.drlvm.tests.regression.h3256.InterruptTimedWaitingTest"/>
-    </target>
-</project>
-
+<project name="RUN HARMONY-3256 Regression Test">
+    <target name="run-test">
+        <run-pjava-test
+            test="org.apache.harmony.drlvm.tests.regression.h3256.InterruptTimedWaitingTest"/>
+    </target>
+</project>
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3256/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3256/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3283/JavaLibraryPathTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3283/JavaLibraryPathTest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3283/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3283/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3285/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3285/Test.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3285/Test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3285/Test.java Thu Oct 25 03:07:43 2007
@@ -1,19 +1,19 @@
-package org.apache.harmony.drlvm.tests.regression.h3285;
-
-import junit.framework.TestCase;
-
-public class Test extends TestCase {
-
-    public void test() throws Exception {
-        process(123L);
-    }
-
-    void process(long ll) {
-        boolean flag = false;
-
-        if(ll >= 0L && ll > 0L && ll > 10L)
-        {
-            flag = true;        
-        }   
-    }
-}
+package org.apache.harmony.drlvm.tests.regression.h3285;
+
+import junit.framework.TestCase;
+
+public class Test extends TestCase {
+
+    public void test() throws Exception {
+        process(123L);
+    }
+
+    void process(long ll) {
+        boolean flag = false;
+
+        if(ll >= 0L && ll > 0L && ll > 10L)
+        {
+            flag = true;        
+        }   
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3285/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3285/Test.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3285/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3285/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3285/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3285/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,9 +1,9 @@
-<project name="RUN HARMONY-3285 Regression Test">
-    <target name="run-test">
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h3285.Test"
-             vmarg="-Xem:opt">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-3285 Regression Test">
+    <target name="run-test">
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h3285.Test"
+             vmarg="-Xem:opt">
+        </run-junit-test>
+    </target>
+</project>
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3285/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3285/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3380/LongToBitsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3380/LongToBitsTest.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3380/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3380/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3446/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3446/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3652/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3652/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3652/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3652/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3658/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3658/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3658/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3658/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3691/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3691/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3691/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3691/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3738/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3738/Test.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3738/Test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3738/Test.java Thu Oct 25 03:07:43 2007
@@ -1,17 +1,17 @@
-package org.apache.harmony.drlvm.tests.regression.h3738;
-
-import junit.framework.TestCase;
-import org.vmmagic.unboxed.*;
-
-public class Test extends TestCase {
-
-    static Address a;
-    static long val;
-
-    public static void test() {
-        a = Address.fromLong(1L);
-        //crash in I8Lowerer here
-        val = a.toLong();
-    } 
-} 
-
+package org.apache.harmony.drlvm.tests.regression.h3738;
+
+import junit.framework.TestCase;
+import org.vmmagic.unboxed.*;
+
+public class Test extends TestCase {
+
+    static Address a;
+    static long val;
+
+    public static void test() {
+        a = Address.fromLong(1L);
+        //crash in I8Lowerer here
+        val = a.toLong();
+    } 
+} 
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3738/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3738/Test.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3738/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3738/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3738/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3738/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,8 +1,8 @@
-<project name="RUN HARMONY-3738 Regression Test">
-  <target name="run-test">
-    <run-junit-test 
-        test="org.apache.harmony.drlvm.tests.regression.h3738.Test"
-        vmarg="-Xem:opt">
-    </run-junit-test>
-  </target>
-</project>
+<project name="RUN HARMONY-3738 Regression Test">
+  <target name="run-test">
+    <run-junit-test 
+        test="org.apache.harmony.drlvm.tests.regression.h3738.Test"
+        vmarg="-Xem:opt">
+    </run-junit-test>
+  </target>
+</project>

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3738/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3738/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3751/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3751/Test.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3751/Test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3751/Test.java Thu Oct 25 03:07:43 2007
@@ -1,42 +1,42 @@
-package org.apache.harmony.drlvm.tests.regression.h3751;
-
-import junit.framework.TestCase;
-import org.vmmagic.unboxed.*;
-
-public class Test extends TestCase {
-
-    //both methods caused failure in OPT
-    public static void testStatic() {
-        Foo.testStatic();
-    }
-    
-    public static void testNonStatic() {
-        new Foo().testNonStatic();
-    } 
-} 
-
-
-class Foo {
-    static long val;
-    static Address staticAddr;
-    Address nonStaticAddr;
-
-    static void testStatic() {
-        Address localAddr = Address.fromLong(val);
-        staticAddr = localAddr;
-        val = staticAddr.toLong();
-        System.gc();
-        staticAddr = localAddr;
-    }
-
-
-    void testNonStatic() {
-        Address localAddr = Address.fromLong(val);
-        nonStaticAddr = localAddr;
-        val = nonStaticAddr.toLong();
-        System.gc();
-        nonStaticAddr = localAddr;
-    }
-
-}
-
+package org.apache.harmony.drlvm.tests.regression.h3751;
+
+import junit.framework.TestCase;
+import org.vmmagic.unboxed.*;
+
+public class Test extends TestCase {
+
+    //both methods caused failure in OPT
+    public static void testStatic() {
+        Foo.testStatic();
+    }
+    
+    public static void testNonStatic() {
+        new Foo().testNonStatic();
+    } 
+} 
+
+
+class Foo {
+    static long val;
+    static Address staticAddr;
+    Address nonStaticAddr;
+
+    static void testStatic() {
+        Address localAddr = Address.fromLong(val);
+        staticAddr = localAddr;
+        val = staticAddr.toLong();
+        System.gc();
+        staticAddr = localAddr;
+    }
+
+
+    void testNonStatic() {
+        Address localAddr = Address.fromLong(val);
+        nonStaticAddr = localAddr;
+        val = nonStaticAddr.toLong();
+        System.gc();
+        nonStaticAddr = localAddr;
+    }
+
+}
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3751/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3751/Test.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3751/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3751/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3751/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3751/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,8 +1,8 @@
-<project name="RUN HARMONY-3751 Regression Test">
-  <target name="run-test">
-    <run-junit-test 
-        test="org.apache.harmony.drlvm.tests.regression.h3751.Test"
-        vmarg="-Xem:opt">
-    </run-junit-test>
-  </target>
-</project>
+<project name="RUN HARMONY-3751 Regression Test">
+  <target name="run-test">
+    <run-junit-test 
+        test="org.apache.harmony.drlvm.tests.regression.h3751.Test"
+        vmarg="-Xem:opt">
+    </run-junit-test>
+  </target>
+</project>

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3751/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3751/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3784/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3784/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3784/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3784/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3862/SubrBounds.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3862/SubrBounds.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3862/SubrBounds.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3862/SubrBounds.java Thu Oct 25 03:07:43 2007
@@ -1,38 +1,38 @@
-package org.apache.harmony.drlvm.tests.regression.h3862;
-
-import junit.framework.TestCase;
-
-public class SubrBounds extends TestCase {
-    
-    public void testPos() throws Exception {
-        pos.test();
-    }
-    
-    public void testNeg() throws Exception {
-        try {
-            neg.test();
-            fail("VerifyError expected");
-        } catch( VerifyError e) {
-        }
-    }
-
-    public void testPos2() throws Exception {
-        pos2.test();
-    }
-    
-    public void testNeg2() throws Exception {
-        try {
-            neg2.test();
-            fail("VerifyError expected");
-        } catch( VerifyError e) {
-        }
-    }
-    
-    public void testNeg3() throws Exception {
-        try {
-            neg3.test();
-            fail("VerifyError expected");
-        } catch( VerifyError e) {
-        }
-    }
+package org.apache.harmony.drlvm.tests.regression.h3862;
+
+import junit.framework.TestCase;
+
+public class SubrBounds extends TestCase {
+    
+    public void testPos() throws Exception {
+        pos.test();
+    }
+    
+    public void testNeg() throws Exception {
+        try {
+            neg.test();
+            fail("VerifyError expected");
+        } catch( VerifyError e) {
+        }
+    }
+
+    public void testPos2() throws Exception {
+        pos2.test();
+    }
+    
+    public void testNeg2() throws Exception {
+        try {
+            neg2.test();
+            fail("VerifyError expected");
+        } catch( VerifyError e) {
+        }
+    }
+    
+    public void testNeg3() throws Exception {
+        try {
+            neg3.test();
+            fail("VerifyError expected");
+        } catch( VerifyError e) {
+        }
+    }
 }

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3862/SubrBounds.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3862/SubrBounds.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3862/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3862/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3954/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3954/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3954/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H3954/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4073/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4073/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4073/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4073/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4267/UnresolvedArrayElem.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4267/UnresolvedArrayElem.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4267/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4267/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4514/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4514/run.test.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4579/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4579/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H4579/test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H4579/test.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H4579/test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H4579/test.java Thu Oct 25 03:07:43 2007
@@ -1,14 +1,14 @@
-package org.apache.harmony.drlvm.tests.regression.h4579;
-
-import junit.framework.TestCase;
-
-public class test extends TestCase {
-    
-    public void testNeg() throws Exception {
-        try {
-            neg.test();
-            fail("VerifyError expected");
-        } catch( VerifyError e) {
-        }
-    }
+package org.apache.harmony.drlvm.tests.regression.h4579;
+
+import junit.framework.TestCase;
+
+public class test extends TestCase {
+    
+    public void testNeg() throws Exception {
+        try {
+            neg.test();
+            fail("VerifyError expected");
+        } catch( VerifyError e) {
+        }
+    }
 }

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4579/test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4579/test.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H4675/DivLongTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H4675/DivLongTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H4675/DivLongTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H4675/DivLongTest.java Thu Oct 25 03:07:43 2007
@@ -1,30 +1,30 @@
-package org.apache.harmony.drlvm.tests.regression.h4675;
-
-import junit.framework.TestCase;
-
-public class DivLongTest extends TestCase {
-
-    public void testLDIV_lowzero() {
-        long test_long = 0x000000ff00000000L; 
-        long res = test_long / test_long; 
-
-        assertEquals(1, res);
-    }
-
-    /** HARMONY-4898 */
-    public void testLDIV_min() {
-        long l_min = Long.MIN_VALUE;
-        long l_1 = -1;
-        long res = l_min / l_1;
-
-        assertEquals(Long.MIN_VALUE, res);
-    }
-
-    public void testLREM_min() {
-        long l_min = Long.MIN_VALUE;
-        long l_1 = -1;
-        long res = l_min % l_1;
-
-        assertEquals(0, res);
-    }
-}
+package org.apache.harmony.drlvm.tests.regression.h4675;
+
+import junit.framework.TestCase;
+
+public class DivLongTest extends TestCase {
+
+    public void testLDIV_lowzero() {
+        long test_long = 0x000000ff00000000L; 
+        long res = test_long / test_long; 
+
+        assertEquals(1, res);
+    }
+
+    /** HARMONY-4898 */
+    public void testLDIV_min() {
+        long l_min = Long.MIN_VALUE;
+        long l_1 = -1;
+        long res = l_min / l_1;
+
+        assertEquals(Long.MIN_VALUE, res);
+    }
+
+    public void testLREM_min() {
+        long l_min = Long.MIN_VALUE;
+        long l_1 = -1;
+        long res = l_min % l_1;
+
+        assertEquals(0, res);
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4675/DivLongTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4675/DivLongTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H4675/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H4675/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H4675/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H4675/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,9 +1,9 @@
-<project name="RUN HARMONY-4675,HARMONY-4898 Regression Test">
-    <target name="run-test">
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h4675.DivLongTest"
-             vmarg="-Xem:jet">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-4675,HARMONY-4898 Regression Test">
+    <target name="run-test">
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h4675.DivLongTest"
+             vmarg="-Xem:jet">
+        </run-junit-test>
+    </target>
+</project>
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4675/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H4675/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/vm/doc/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/doc/build.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/doc/build.xml (original)
+++ harmony/enhanced/drlvm/trunk/vm/doc/build.xml Thu Oct 25 03:07:43 2007
@@ -1,249 +1,249 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-     Licensed to the Apache Software Foundation (ASF) under one or more
-     contributor license agreements.  See the NOTICE file distributed with
-     this work for additional information regarding copyright ownership.
-     The ASF licenses this file to You under the Apache License, Version 2.0
-     (the "License"); you may not use this file except in compliance with
-     the License.  You may obtain a copy of the License at
-     
-         http://www.apache.org/licenses/LICENSE-2.0
-     
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License. -->
-
-<project name="DRLVM Documentation" default="all" basedir=".">
-    <description>
-        DRLVM documentation build
-    </description>
-
-    <!-- Import class library location -->
-    <property name="vm.dir" value="${basedir}/.." />
-    <property file="${vm.dir}/../build/drlvm.properties" />
-
-    <!-- Import documentation properties -->
-    <property file="doc.properties" />
-
-    <!-- System dependent settings -->
-    <condition property="exe.suffix" value=".exe" else="">
-        <os family="Windows" />
-    </condition>
-
-    <target name="all"
-        description="Rebuid DRLVM documentation from scratch." 
-        depends="clean,
-                 doxygen.intf,
-                 doxygen.em,
-                 doxygen.gc_cc,
-                 doxygen.gc_gen,
-                 doxygen.gcv4,
-                 doxygen.interpreter,
-                 doxygen.jitrino,
-                 doxygen.apr_extension,
-                 doxygen.thread,
-                 doxygen.vmcore,
-                 doxygen.vmi,
-                 doxygen.component_manager,
-                 doxygen.tests,
-                 doxygen.drlvm" />
-
-    <target name="clean" 
-        description="Clean all documentation directories." 
-        depends="clean.intf,
-                 clean.em,
-                 clean.gc_cc,
-                 clean.gc_gen,
-                 clean.gcv4,
-                 clean.interpreter,
-                 clean.jitrino,
-                 clean.apr_extension,
-                 clean.thread,
-                 clean.vmcore,
-                 clean.vmi,
-                 clean.component_manager,
-                 clean.tests,
-                 clean.drlvm" />
-
-    <!-- Process bundles -->
-    <target name="doxygen.drlvm" depends="init"
-        description="Build all drlvm source documentation.">
-        <generate-bundle bundle="drlvm" />
-    </target>
-
-    <target name="clean.drlvm">
-        <delete dir="${doc.dir}/drlvm${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.intf" depends="init"
-        description="Build inter-component interface documentation.">
-        <generate-bundle bundle="intf" />
-    </target>
-
-    <target name="clean.intf">
-        <delete dir="${doc.dir}/intf${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.em" depends="init"
-        description="Build execution manager documentation.">
-        <generate-bundle bundle="em" />
-    </target>
-
-    <target name="clean.em">
-        <delete dir="${doc.dir}/em${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.gc_cc" depends="init"
-        description="Build copying/compacting GC documentation.">
-        <generate-bundle bundle="gc_cc" />
-    </target>
-
-    <target name="clean.gc_cc">
-        <delete dir="${doc.dir}/gc_cc${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.gc_gen" depends="init"
-        description="Build generational GC documentation.">
-        <generate-bundle bundle="gc_gen" />
-    </target>
-
-    <target name="clean.gc_gen">
-        <delete dir="${doc.dir}/gc_gen${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.gcv4" depends="init"
-        description="Build obsolescent GC documentation.">
-        <generate-bundle bundle="gcv4" />
-    </target>
-
-    <target name="clean.gcv4">
-        <delete dir="${doc.dir}/gcv4${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.interpreter" depends="init"
-        description="Build interpreter documentation.">
-        <generate-bundle bundle="interpreter" />
-    </target>
-
-    <target name="clean.interpreter">
-        <delete dir="${doc.dir}/interpreter${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.jitrino" depends="init"
-        description="Build Jitrino documentation.">
-        <generate-bundle bundle="jitrino" />
-    </target>
-
-    <target name="clean.jitrino">
-        <delete dir="${doc.dir}/jitrino${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.apr_extension" depends="init"
-        description="Build porting layer documentation.">
-        <generate-bundle bundle="apr_extension" />
-    </target>
-
-    <target name="clean.apr_extension">
-        <delete dir="${doc.dir}/apr_extension${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.thread" depends="init"
-        description="Build thread manager documentation.">
-        <generate-bundle bundle="thread" />
-    </target>
-
-    <target name="clean.thread">
-        <delete dir="${doc.dir}/thread${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.vmcore" depends="init"
-        description="Build VM infrastructure documentation.">
-        <generate-bundle bundle="vmcore" />
-    </target>
-
-    <target name="clean.vmcore">
-        <delete dir="${doc.dir}/vmcore${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.vmi" depends="init"
-        description="Build class library support documentation.">
-        <generate-bundle bundle="vmi" />
-    </target>
-
-    <target name="clean.vmi">
-        <delete dir="${doc.dir}/vmi${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.component_manager" depends="init"
-        description="Build component manager documentation.">
-        <generate-bundle bundle="component_manager" />
-    </target>
-
-    <target name="clean.component_manager">
-        <delete dir="${doc.dir}/component_manager${doc.suffix}" />
-    </target>
-
-    <target name="doxygen.tests" depends="init"
-        description="Build DRLVM tests documentation.">
-        <generate-bundle bundle="tests" />
-    </target>
-
-    <target name="clean.tests">
-        <delete dir="${doc.dir}/tests${doc.suffix}" />
-    </target>
-
-    <!-- Initialize -->
-    <target name="init" depends="svn.prop" />
-
-    <!-- Set a revision -->
-    <target name="svn.prop">
-        <exec executable="svn"
-              dir="${classlib.doc.dir}"
-              failifexecutionfails="false"
-              resultproperty="svn.rc">
-            <arg value="info" />
-            <arg value="build.xml" />
-            <redirector outputproperty="svn.revision.tmp">
-                <outputfilterchain>
-                    <linecontains>
-                        <contains value="Revision: " />
-                    </linecontains>
-                    <tokenfilter>
-                        <replacestring from="Revision: " to=""/>
-                    </tokenfilter>
-                </outputfilterchain>
-            </redirector>
-        </exec>
-        <condition property="doc.version" value="1.${svn.revision.tmp}" >
-            <equals arg1="${svn.rc}" arg2="0" />
-        </condition>
-        <property name="doc.version" value="unknown" />
-    </target>
-
-    <!-- Create a specific documentation bundle -->
-    <macrodef name="generate-bundle">
-        <attribute name="bundle" />
-        <sequential>
-            <echo>Generating a documentation bundle for @{bundle}</echo>
-
-            <property name="@{bundle}.doc.dir"
-                value="${doc.dir}/@{bundle}${doc.suffix}" />
-            <mkdir dir="${@{bundle}.doc.dir}" />
-            <exec executable="doxygen${exe.suffix}"
-                dir="${vm.dir}" failonerror="true">
-                <arg value="${basedir}/vm.cfg" />
-                <env key="BUNDLE_DIR" value="${@{bundle}.doc.dir}" />
-                <env key="CLASSLIB_DOC_DIR" value="${classlib.doc.dir}" />
-                <env key="BUNDLE_NAME" value="${@{bundle}.name}" />
-                <env key="BUNDLE_FILES" value="${@{bundle}.files}" />
-                <env key="DOC_VERSION" value="${doc.version}" />
-            </exec>
-        </sequential>
-    </macrodef>
-
-</project>
-
-
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+     Licensed to the Apache Software Foundation (ASF) under one or more
+     contributor license agreements.  See the NOTICE file distributed with
+     this work for additional information regarding copyright ownership.
+     The ASF licenses this file to You under the Apache License, Version 2.0
+     (the "License"); you may not use this file except in compliance with
+     the License.  You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<project name="DRLVM Documentation" default="all" basedir=".">
+    <description>
+        DRLVM documentation build
+    </description>
+
+    <!-- Import class library location -->
+    <property name="vm.dir" value="${basedir}/.." />
+    <property file="${vm.dir}/../build/drlvm.properties" />
+
+    <!-- Import documentation properties -->
+    <property file="doc.properties" />
+
+    <!-- System dependent settings -->
+    <condition property="exe.suffix" value=".exe" else="">
+        <os family="Windows" />
+    </condition>
+
+    <target name="all"
+        description="Rebuid DRLVM documentation from scratch." 
+        depends="clean,
+                 doxygen.intf,
+                 doxygen.em,
+                 doxygen.gc_cc,
+                 doxygen.gc_gen,
+                 doxygen.gcv4,
+                 doxygen.interpreter,
+                 doxygen.jitrino,
+                 doxygen.apr_extension,
+                 doxygen.thread,
+                 doxygen.vmcore,
+                 doxygen.vmi,
+                 doxygen.component_manager,
+                 doxygen.tests,
+                 doxygen.drlvm" />
+
+    <target name="clean" 
+        description="Clean all documentation directories." 
+        depends="clean.intf,
+                 clean.em,
+                 clean.gc_cc,
+                 clean.gc_gen,
+                 clean.gcv4,
+                 clean.interpreter,
+                 clean.jitrino,
+                 clean.apr_extension,
+                 clean.thread,
+                 clean.vmcore,
+                 clean.vmi,
+                 clean.component_manager,
+                 clean.tests,
+                 clean.drlvm" />
+
+    <!-- Process bundles -->
+    <target name="doxygen.drlvm" depends="init"
+        description="Build all drlvm source documentation.">
+        <generate-bundle bundle="drlvm" />
+    </target>
+
+    <target name="clean.drlvm">
+        <delete dir="${doc.dir}/drlvm${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.intf" depends="init"
+        description="Build inter-component interface documentation.">
+        <generate-bundle bundle="intf" />
+    </target>
+
+    <target name="clean.intf">
+        <delete dir="${doc.dir}/intf${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.em" depends="init"
+        description="Build execution manager documentation.">
+        <generate-bundle bundle="em" />
+    </target>
+
+    <target name="clean.em">
+        <delete dir="${doc.dir}/em${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.gc_cc" depends="init"
+        description="Build copying/compacting GC documentation.">
+        <generate-bundle bundle="gc_cc" />
+    </target>
+
+    <target name="clean.gc_cc">
+        <delete dir="${doc.dir}/gc_cc${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.gc_gen" depends="init"
+        description="Build generational GC documentation.">
+        <generate-bundle bundle="gc_gen" />
+    </target>
+
+    <target name="clean.gc_gen">
+        <delete dir="${doc.dir}/gc_gen${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.gcv4" depends="init"
+        description="Build obsolescent GC documentation.">
+        <generate-bundle bundle="gcv4" />
+    </target>
+
+    <target name="clean.gcv4">
+        <delete dir="${doc.dir}/gcv4${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.interpreter" depends="init"
+        description="Build interpreter documentation.">
+        <generate-bundle bundle="interpreter" />
+    </target>
+
+    <target name="clean.interpreter">
+        <delete dir="${doc.dir}/interpreter${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.jitrino" depends="init"
+        description="Build Jitrino documentation.">
+        <generate-bundle bundle="jitrino" />
+    </target>
+
+    <target name="clean.jitrino">
+        <delete dir="${doc.dir}/jitrino${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.apr_extension" depends="init"
+        description="Build porting layer documentation.">
+        <generate-bundle bundle="apr_extension" />
+    </target>
+
+    <target name="clean.apr_extension">
+        <delete dir="${doc.dir}/apr_extension${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.thread" depends="init"
+        description="Build thread manager documentation.">
+        <generate-bundle bundle="thread" />
+    </target>
+
+    <target name="clean.thread">
+        <delete dir="${doc.dir}/thread${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.vmcore" depends="init"
+        description="Build VM infrastructure documentation.">
+        <generate-bundle bundle="vmcore" />
+    </target>
+
+    <target name="clean.vmcore">
+        <delete dir="${doc.dir}/vmcore${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.vmi" depends="init"
+        description="Build class library support documentation.">
+        <generate-bundle bundle="vmi" />
+    </target>
+
+    <target name="clean.vmi">
+        <delete dir="${doc.dir}/vmi${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.component_manager" depends="init"
+        description="Build component manager documentation.">
+        <generate-bundle bundle="component_manager" />
+    </target>
+
+    <target name="clean.component_manager">
+        <delete dir="${doc.dir}/component_manager${doc.suffix}" />
+    </target>
+
+    <target name="doxygen.tests" depends="init"
+        description="Build DRLVM tests documentation.">
+        <generate-bundle bundle="tests" />
+    </target>
+
+    <target name="clean.tests">
+        <delete dir="${doc.dir}/tests${doc.suffix}" />
+    </target>
+
+    <!-- Initialize -->
+    <target name="init" depends="svn.prop" />
+
+    <!-- Set a revision -->
+    <target name="svn.prop">
+        <exec executable="svn"
+              dir="${classlib.doc.dir}"
+              failifexecutionfails="false"
+              resultproperty="svn.rc">
+            <arg value="info" />
+            <arg value="build.xml" />
+            <redirector outputproperty="svn.revision.tmp">
+                <outputfilterchain>
+                    <linecontains>
+                        <contains value="Revision: " />
+                    </linecontains>
+                    <tokenfilter>
+                        <replacestring from="Revision: " to=""/>
+                    </tokenfilter>
+                </outputfilterchain>
+            </redirector>
+        </exec>
+        <condition property="doc.version" value="1.${svn.revision.tmp}" >
+            <equals arg1="${svn.rc}" arg2="0" />
+        </condition>
+        <property name="doc.version" value="unknown" />
+    </target>
+
+    <!-- Create a specific documentation bundle -->
+    <macrodef name="generate-bundle">
+        <attribute name="bundle" />
+        <sequential>
+            <echo>Generating a documentation bundle for @{bundle}</echo>
+
+            <property name="@{bundle}.doc.dir"
+                value="${doc.dir}/@{bundle}${doc.suffix}" />
+            <mkdir dir="${@{bundle}.doc.dir}" />
+            <exec executable="doxygen${exe.suffix}"
+                dir="${vm.dir}" failonerror="true">
+                <arg value="${basedir}/vm.cfg" />
+                <env key="BUNDLE_DIR" value="${@{bundle}.doc.dir}" />
+                <env key="CLASSLIB_DOC_DIR" value="${classlib.doc.dir}" />
+                <env key="BUNDLE_NAME" value="${@{bundle}.name}" />
+                <env key="BUNDLE_FILES" value="${@{bundle}.files}" />
+                <env key="DOC_VERSION" value="${doc.version}" />
+            </exec>
+        </sequential>
+    </macrodef>
+
+</project>
+
+

Propchange: harmony/enhanced/drlvm/trunk/vm/doc/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/doc/build.xml
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/javasrc/org/apache/harmony/drlvm/gc_gen/GCHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/javasrc/org/apache/harmony/drlvm/gc_gen/GCHelper.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/fix_repointed_refs.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/fix_repointed_refs.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_space.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_space.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/large_pages.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/large_pages.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/mark_scan_pool.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/mark_scan_pool.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref_metadata.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref_metadata.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref_metadata.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref_metadata.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gc_for_barrier.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gc_for_barrier.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_natives.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_natives.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_support.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_support.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_support.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_support.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/fallback_mark_scan.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/fallback_mark_scan.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_collect_compact.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_collect_compact.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_extend_compact.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_extend_compact.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_move_compact.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_move_compact.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/collector_alloc.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/collector_alloc.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/gc_thread.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/gc_thread.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/gc_thread.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/gc_thread.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_gen_forward_pool.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_gen_forward_pool.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_nongen_forward_pool.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_nongen_forward_pool.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bidir_list.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bidir_list.h
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bit_ops.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bit_ops.h?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bit_ops.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bit_ops.h Thu Oct 25 03:07:43 2007
@@ -1,130 +1,130 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-
-/**
- * @author Ji, Qi, 2006/10/25
- */
- 
-#ifndef _BIT_OPS_H_
-#define _BIT_OPS_H_
-
-#include "../common/gc_common.h"
-
-inline unsigned int word_get_first_set_lsb(POINTER_SIZE_INT target_word)
-{
-  assert(target_word != 0);
-  POINTER_SIZE_INT bit_offset = 0;
-
-#if defined(_IPF_) || defined(_WIN64)
-    while( ! (target_word & ((POINTER_SIZE_INT)1 << bit_offset)) ){
-    	bit_offset++;
-    }
-#else /* !_IPF_ && !_WIN64 */
-#ifdef PLATFORM_POSIX  /* linux X86 32/64 */
-    __asm__ __volatile__(
-      "bsf %1,%0\n"
-      :"=r"(bit_offset)
-      :"m"(target_word)
-    );
-#else /* !PLATFORM_POSIX */
-#ifdef WIN32 
-    __asm{
-      bsf eax, target_word
-      mov bit_offset, eax
-    }
-#endif /* WIN32 */
-#endif /* !PLATFORM_POSIX */
-#endif /* !_IPF_ && !_WIN64 */
-
-  assert(bit_offset < BITS_PER_WORD);
-  return (unsigned int)bit_offset;
-
-}
-
-inline unsigned int words_get_next_set_lsb(POINTER_SIZE_INT* words, unsigned int count, unsigned int start_idx)
-{
-  unsigned int bit_offset;
-  
-  assert(start_idx < 128);
-  
-  unsigned int start_word_index = start_idx >> BIT_SHIFT_TO_BITS_PER_WORD;
-  unsigned int start_bit_offset = start_idx & BIT_MASK_TO_BITS_PER_WORD;
-  
-  bit_offset = start_idx - start_bit_offset;
-  for(unsigned int i = start_word_index; i < count; i ++ ){
-    POINTER_SIZE_INT cur_word = *(words + i);
-    
-    if(start_word_index == i){
-      POINTER_SIZE_INT mask = ~(((POINTER_SIZE_INT)1 << start_bit_offset) - 1);
-      cur_word = cur_word & mask;
-    }
-  
-     if(cur_word != 0){
-       bit_offset += word_get_first_set_lsb(cur_word);
-       return bit_offset;
-     }
-     
-     bit_offset += BITS_PER_WORD;
-   }
-  
-  return bit_offset;
-}
-
-inline void words_set_bit(POINTER_SIZE_INT* words, unsigned int count, unsigned int start_idx)
-{
-  assert(start_idx < 128);
-  
-  unsigned int word_index = start_idx >> BIT_SHIFT_TO_BITS_PER_WORD;
-  unsigned int bit_offset = start_idx & BIT_MASK_TO_BITS_PER_WORD;
-  
-  if(word_index >= count) return;
-  
-  volatile POINTER_SIZE_INT* p_word = words + word_index;
-  POINTER_SIZE_INT old_value = *p_word;
-  POINTER_SIZE_INT mask = (POINTER_SIZE_INT)1 << bit_offset;
-  POINTER_SIZE_INT new_value = old_value|mask;
-  while (true) {
-    POINTER_SIZE_INT temp = atomic_casptrsz(p_word, new_value, old_value);
-    if (temp == old_value) break;
-    old_value = *p_word;
-    new_value = old_value|mask;
-  }
-  return;
-}
-
-inline void words_clear_bit(POINTER_SIZE_INT* words, unsigned int count, unsigned int start_idx)
-{
-  assert(start_idx < 128);
-  
-  unsigned int word_index = start_idx >> BIT_SHIFT_TO_BITS_PER_WORD;
-  unsigned int bit_offset = start_idx & BIT_MASK_TO_BITS_PER_WORD;
-  
-  if(word_index >= count) return;
-  
-  volatile POINTER_SIZE_INT* p_word = words + word_index;
-  POINTER_SIZE_INT old_value = *p_word;
-  POINTER_SIZE_INT mask = ~((POINTER_SIZE_INT)1 << bit_offset);
-  POINTER_SIZE_INT new_value = old_value & mask;
-  while (true) {
-    POINTER_SIZE_INT temp = atomic_casptrsz(p_word, new_value, old_value);
-    if (temp == old_value) break;
-    old_value = *p_word;
-    new_value = old_value & mask;
-  }
-  return;
-}
-#endif
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/**
+ * @author Ji, Qi, 2006/10/25
+ */
+ 
+#ifndef _BIT_OPS_H_
+#define _BIT_OPS_H_
+
+#include "../common/gc_common.h"
+
+inline unsigned int word_get_first_set_lsb(POINTER_SIZE_INT target_word)
+{
+  assert(target_word != 0);
+  POINTER_SIZE_INT bit_offset = 0;
+
+#if defined(_IPF_) || defined(_WIN64)
+    while( ! (target_word & ((POINTER_SIZE_INT)1 << bit_offset)) ){
+    	bit_offset++;
+    }
+#else /* !_IPF_ && !_WIN64 */
+#ifdef PLATFORM_POSIX  /* linux X86 32/64 */
+    __asm__ __volatile__(
+      "bsf %1,%0\n"
+      :"=r"(bit_offset)
+      :"m"(target_word)
+    );
+#else /* !PLATFORM_POSIX */
+#ifdef WIN32 
+    __asm{
+      bsf eax, target_word
+      mov bit_offset, eax
+    }
+#endif /* WIN32 */
+#endif /* !PLATFORM_POSIX */
+#endif /* !_IPF_ && !_WIN64 */
+
+  assert(bit_offset < BITS_PER_WORD);
+  return (unsigned int)bit_offset;
+
+}
+
+inline unsigned int words_get_next_set_lsb(POINTER_SIZE_INT* words, unsigned int count, unsigned int start_idx)
+{
+  unsigned int bit_offset;
+  
+  assert(start_idx < 128);
+  
+  unsigned int start_word_index = start_idx >> BIT_SHIFT_TO_BITS_PER_WORD;
+  unsigned int start_bit_offset = start_idx & BIT_MASK_TO_BITS_PER_WORD;
+  
+  bit_offset = start_idx - start_bit_offset;
+  for(unsigned int i = start_word_index; i < count; i ++ ){
+    POINTER_SIZE_INT cur_word = *(words + i);
+    
+    if(start_word_index == i){
+      POINTER_SIZE_INT mask = ~(((POINTER_SIZE_INT)1 << start_bit_offset) - 1);
+      cur_word = cur_word & mask;
+    }
+  
+     if(cur_word != 0){
+       bit_offset += word_get_first_set_lsb(cur_word);
+       return bit_offset;
+     }
+     
+     bit_offset += BITS_PER_WORD;
+   }
+  
+  return bit_offset;
+}
+
+inline void words_set_bit(POINTER_SIZE_INT* words, unsigned int count, unsigned int start_idx)
+{
+  assert(start_idx < 128);
+  
+  unsigned int word_index = start_idx >> BIT_SHIFT_TO_BITS_PER_WORD;
+  unsigned int bit_offset = start_idx & BIT_MASK_TO_BITS_PER_WORD;
+  
+  if(word_index >= count) return;
+  
+  volatile POINTER_SIZE_INT* p_word = words + word_index;
+  POINTER_SIZE_INT old_value = *p_word;
+  POINTER_SIZE_INT mask = (POINTER_SIZE_INT)1 << bit_offset;
+  POINTER_SIZE_INT new_value = old_value|mask;
+  while (true) {
+    POINTER_SIZE_INT temp = atomic_casptrsz(p_word, new_value, old_value);
+    if (temp == old_value) break;
+    old_value = *p_word;
+    new_value = old_value|mask;
+  }
+  return;
+}
+
+inline void words_clear_bit(POINTER_SIZE_INT* words, unsigned int count, unsigned int start_idx)
+{
+  assert(start_idx < 128);
+  
+  unsigned int word_index = start_idx >> BIT_SHIFT_TO_BITS_PER_WORD;
+  unsigned int bit_offset = start_idx & BIT_MASK_TO_BITS_PER_WORD;
+  
+  if(word_index >= count) return;
+  
+  volatile POINTER_SIZE_INT* p_word = words + word_index;
+  POINTER_SIZE_INT old_value = *p_word;
+  POINTER_SIZE_INT mask = ~((POINTER_SIZE_INT)1 << bit_offset);
+  POINTER_SIZE_INT new_value = old_value & mask;
+  while (true) {
+    POINTER_SIZE_INT temp = atomic_casptrsz(p_word, new_value, old_value);
+    if (temp == old_value) break;
+    old_value = *p_word;
+    new_value = old_value & mask;
+  }
+  return;
+}
+#endif

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bit_ops.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bit_ops.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/include/open/hycond_win.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/include/open/hycond_win.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/loop_unroll.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/loop_unroll.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/port/src/lil/pim/m2n.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/port/src/lil/pim/m2n.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_condvar.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_condvar.c
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_thread.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_thread.c
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_condvar.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_condvar.c
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_mutex.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_mutex.c
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_thread.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_thread.c
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/include/finalizer_thread.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/include/finalizer_thread.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/include/ref_enqueue_thread.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/include/ref_enqueue_thread.h
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalizer_thread.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalizer_thread.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/ref_enqueue_thread.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/ref_enqueue_thread.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/drlvm/VMHelperFastPath.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/drlvm/VMHelperFastPath.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/drlvm/thread/ThreadHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/drlvm/thread/ThreadHelper.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/helpers/thread_helpers_em64t.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/helpers/thread_helpers_em64t.cpp
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/helpers/thread_helpers_ia32.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/helpers/thread_helpers_ia32.cpp
            ('svn:eol-stype' removed)



Mime
View raw message