Class JnaCleanerThreadsFilter

java.lang.Object
org.elasticsearch.test.JnaCleanerThreadsFilter
All Implemented Interfaces:
com.carrotsearch.randomizedtesting.ThreadFilter

public class JnaCleanerThreadsFilter extends Object implements com.carrotsearch.randomizedtesting.ThreadFilter
JNA has a special thread to cleanup native memory references. It is static per JVM, so we filter it out of test leak detection.
  • Constructor Details

    • JnaCleanerThreadsFilter

      public JnaCleanerThreadsFilter()
  • Method Details

    • reject

      public boolean reject(Thread t)
      Specified by:
      reject in interface com.carrotsearch.randomizedtesting.ThreadFilter