Search in sources :

Example 1 with ThreadInfo

use of com.insightfullogic.honest_profiler.core.profiles.lean.info.ThreadInfo in project honest-profiler by jvm-profiling-tools.

the class LeanProfileGenerator method assertContains.

public void assertContains(ThreadMeta... threads) {
    asList(threads).forEach(thread -> {
        ThreadInfo info = currentProfile.getThreadInfoMap().get(thread.getThreadId());
        assertEquals("Thread Id mismatch", thread.getThreadId(), info.getId());
        assertEquals("Thread Name mismatch", thread.getThreadName(), info.getName());
    });
}
Also used : ThreadInfo(com.insightfullogic.honest_profiler.core.profiles.lean.info.ThreadInfo)

Aggregations

ThreadInfo (com.insightfullogic.honest_profiler.core.profiles.lean.info.ThreadInfo)1