harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject svn commit: r565037 - in /harmony/enhanced/drlvm/trunk: build/make/excludes/ vm/gc_gen/src/common/
Date Sun, 12 Aug 2007 11:46:30 GMT
Author: xli
Date: Sun Aug 12 04:46:27 2007
New Revision: 565037

URL: http://svn.apache.org/viewvc?view=rev&rev=565037
Log:
HARMONY-4601: [drlvm][gc_gen] Thread termination in thread.SmallStackThreadTest is terribly
slow

Modified:
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.int
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.jit
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.int
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jet
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jit
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.opt
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.srv
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.int
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.jit
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.opt
    harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.srv
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_platform.h

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.int
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.int?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.int (original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.int Sun
Aug 12 04:46:27 2007
@@ -23,6 +23,3 @@
 
 # This stress test is very slow on interpreter
 stress/Intern.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.jit
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.jit?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.jit (original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.ia64.jit Sun
Aug 12 04:46:27 2007
@@ -19,9 +19,6 @@
 # HARMONY-3639
 thread/ManyThreadsTest.java
 
-# HARMONY-4601
-thread/SmallStackThreadTest.java
-
 #################################
 ######## to be analyzed #########
 #################################

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.int
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.int?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.int (original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.int Sun
Aug 12 04:46:27 2007
@@ -20,6 +20,3 @@
 
 # This stress test is very slow on interpreter
 stress/Intern.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jet
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jet?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jet (original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jet Sun
Aug 12 04:46:27 2007
@@ -16,6 +16,3 @@
 
 # HARMONY-3639
 thread/ManyThreadsTest.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jit
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jit?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jit (original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.jit Sun
Aug 12 04:46:27 2007
@@ -16,6 +16,3 @@
 
 # HARMONY-3639
 thread/ManyThreadsTest.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.opt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.opt?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.opt (original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.opt Sun
Aug 12 04:46:27 2007
@@ -16,6 +16,3 @@
 
 # HARMONY-3639
 thread/ManyThreadsTest.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.srv
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.srv?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.srv (original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86.srv Sun
Aug 12 04:46:27 2007
@@ -16,6 +16,3 @@
 
 # HARMONY-3639
 thread/ManyThreadsTest.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.int
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.int?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.int
(original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.int
Sun Aug 12 04:46:27 2007
@@ -22,6 +22,3 @@
 
 # This stress test is very slow on interpreter
 stress/Intern.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.jit
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.jit?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.jit
(original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.jit
Sun Aug 12 04:46:27 2007
@@ -27,6 +27,3 @@
 
 # HARMONY-3299 intermittent
 stress/Sync.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.opt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.opt?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.opt
(original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.opt
Sun Aug 12 04:46:27 2007
@@ -27,6 +27,3 @@
 
 # HARMONY-3639
 thread/ManyThreadsTest.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.srv
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.srv?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.srv
(original)
+++ harmony/enhanced/drlvm/trunk/build/make/excludes/exclude.drlvm_smoke.linux.x86_64.srv
Sun Aug 12 04:46:27 2007
@@ -27,6 +27,3 @@
 
 # HARMONY-3639
 thread/ManyThreadsTest.java
-
-# HARMONY-4601
-thread/SmallStackThreadTest.java

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_platform.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_platform.h?view=diff&rev=565037&r1=565036&r2=565037
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_platform.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_platform.h Sun Aug 12 04:46:27 2007
@@ -271,7 +271,7 @@
 };
 
 #define try_lock(x) (!atomic_cas32(&(x), LOCKED, FREE_LOCK))
-#define lock(x) while( !try_lock(x)){ while( x==LOCKED );}
+#define lock(x) while( !try_lock(x)){ while( x==LOCKED ){ vm_thread_yield();}}
 #define unlock(x) do{ x = FREE_LOCK;}while(0)
 
 #endif //_GC_PLATFORM_H_



Mime
View raw message