All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup Maven / Gradle / Ivy

package com.carrotsearch.randomizedtesting.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface ThreadLeakGroup {
  public static enum Group {
    /**
     * All JVM threads will be tracked. 
     * 
     * 

WARNING: This option will not work * on IBM J9 because of livelock bugs in {@link Thread#getAllStackTraces()}. */ ALL, /** * The "main" thread group and descendants will be tracked. */ MAIN, /** * Only per-suite test group and descendants will be tracked. */ TESTGROUP } Group value() default Group.MAIN; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy