Hi, When I was testing dalvik using the builtin test case 036, it sometimes reports a failure:
#################### diffs --- expected.txt 2013-07-15 19:14:11.882971385 -0400 +++ output.txt 2013-07-17 03:10:06.851318460 -0400 @@ -1,8 +1,8 @@ wimp: wahoo gc -finalizer executed: wahoo wimp: null finalize +finalizer executed: wahoo wimp: null sleep reborn: wahoo #################### I looked into the actual code and thought it was a bug of nondeterminism. Basically you cannot rely on the timing of `System.gc()` and `System.runFinalization()` since they're only best-effort methods. Could anyone confirm it? I think this test case has existed for a long time. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.