Skip to content

Commit

Permalink
JDK-8337199: removed thread groupings iimpl from dcmd as per Alan B, …
Browse files Browse the repository at this point in the history
…and disabled asssociated tests
  • Loading branch information
larry-cable committed Nov 22, 2024
1 parent aa91058 commit df08aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ private static byte[] print() {
sb.append(System.lineSeparator());
}

// print thread groupings/containers
printThreadContainers(sb);
sb.append(System.lineSeparator());

return sb.toString().getBytes(StandardCharsets.UTF_8);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void testPollers() throws Exception {
/**
* Test that the output includes thread groupings.
*/
@Test
//@Test
void testThreadGroupings() {
// ensure common pool is initialized
CompletableFuture.runAsync(() -> { });
Expand All @@ -122,7 +122,7 @@ void testThreadGroupings() {
/**
* Test that output is truncated when there are too many thread groupings.
*/
@Test
//@Test
void testTooManyThreadGroupings() {
List<ExecutorService> executors = IntStream.range(0, 1000)
.mapToObj(_ -> Executors.newCachedThreadPool())
Expand Down

0 comments on commit df08aa6

Please sign in to comment.