> This change adds some extra test output for NativeLibraryTest, primarily via 
> an update to the ForceGC utility class.
> 
> It was observed that there was nothing preventing the Cleaner from cleaning 
> the short-lived Object that ForceGC registers before 
> await()/doit()/System.gc() is even called.
> 
> The new 'o' reference is kept alive until FoceGC.await() has been called.
> 
> We should find out a little more the next time NativeLibraryTest fails (or 
> perhaps it won't fail anymore!)

Brent Christian has updated the pull request incrementally with one additional 
commit since the last revision:

  Add sleep to ForceGC.await()

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk16/pull/53/files
  - new: https://git.openjdk.java.net/jdk16/pull/53/files/9b5e57ca..54a9e6d1

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk16&pr=53&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk16&pr=53&range=00-01

  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/53.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/53/head:pull/53

PR: https://git.openjdk.java.net/jdk16/pull/53

Reply via email to