equal
deleted
inserted
replaced
74 System.out.println ("GCThread run."); |
74 System.out.println ("GCThread run."); |
75 synchronized (testThread) { |
75 synchronized (testThread) { |
76 System.out.println ("GCThread synchronized."); |
76 System.out.println ("GCThread synchronized."); |
77 while (!done) { |
77 while (!done) { |
78 gcing=true; |
78 gcing=true; |
79 yield(); |
79 Thread.yield(); |
80 System.gc(); |
80 System.gc(); |
81 } |
81 } |
82 } |
82 } |
83 System.out.println ("GCThread done."); |
83 System.out.println ("GCThread done."); |
84 } |
84 } |