mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-20 18:37:51 +00:00
8370851: Mark hotspot and jdk tests incompatible with test thread factory
Reviewed-by: alanb, kevinw, sspitsyn
This commit is contained in:
parent
bb9aeedd88
commit
ed36b9bb6f
@ -24,6 +24,7 @@
|
||||
/**
|
||||
* @test
|
||||
* @summary Stress test that reaches the process limit for thread count, or time limit.
|
||||
* @requires test.thread.factory == null
|
||||
* @requires os.family != "aix"
|
||||
* @key stress
|
||||
* @library /test/lib
|
||||
@ -33,6 +34,7 @@
|
||||
/**
|
||||
* @test
|
||||
* @summary Stress test that reaches the process limit for thread count, or time limit.
|
||||
* @requires test.thread.factory == null
|
||||
* @requires os.family == "aix"
|
||||
* @key stress
|
||||
* @library /test/lib
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -30,6 +30,7 @@
|
||||
* app loader will load the class from the bootclasspath if the
|
||||
* "--limit-modules java.base" option is specified
|
||||
* @requires vm.cds & !vm.graal.enabled
|
||||
* @requires test.thread.factory == null
|
||||
* @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
|
||||
* @modules java.base/jdk.internal.access
|
||||
* @compile ../../test-classes/EmptyClassHelper.java
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,6 +25,7 @@
|
||||
/**
|
||||
* @test
|
||||
* @requires vm.cds & !vm.graal.enabled & vm.cds.write.archived.java.heap
|
||||
* @requires test.thread.factory == null
|
||||
* @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
|
||||
* @run driver OptimizeModuleHandlingTest
|
||||
* @summary test module path changes for optimization of
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -26,6 +26,7 @@
|
||||
* @bug 6173675 8231209 8304074 8313081
|
||||
* @summary Basic test of ThreadMXBean.getThreadAllocatedBytes
|
||||
* @requires vm.gc.G1
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
* @run main/othervm -XX:+UseG1GC ThreadAllocatedMemory
|
||||
*/
|
||||
|
||||
@ -34,6 +35,7 @@
|
||||
* @bug 6173675 8231209 8304074 8313081
|
||||
* @summary Basic test of ThreadMXBean.getThreadAllocatedBytes
|
||||
* @requires vm.gc.Serial
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
* @run main/othervm -XX:+UseSerialGC ThreadAllocatedMemory
|
||||
*/
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2006, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2006, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -24,8 +24,9 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 6431193
|
||||
* @library /test/lib
|
||||
* @summary The new HTTP server exits immediately
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
* @library /test/lib
|
||||
* @run main B6431193
|
||||
* @run main/othervm -Djava.net.preferIPv6Addresses=true B6431193
|
||||
*/
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -27,6 +27,7 @@
|
||||
* @summary Test type mapping of the platform MXBean proxy
|
||||
* returned from Management.newPlatformMXBeanProxy().
|
||||
* @author Mandy Chung
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
*
|
||||
* @compile ProxyTypeMapping.java
|
||||
* @run main/othervm -verbose:gc ProxyTypeMapping
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -27,6 +27,7 @@
|
||||
* @summary Validate open types mapped for the MXBeans in the platform
|
||||
* MBeanServer.
|
||||
* @author Mandy Chung
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
*
|
||||
* @compile ValidateOpenTypes.java
|
||||
* @run main/othervm -verbose:gc ValidateOpenTypes
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2024, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,6 +25,7 @@
|
||||
* @test
|
||||
* @summary Test ThreadMXBean.getLockedMonitors returns information about an object
|
||||
* monitor lock entered with a synchronized native method or JNI MonitorEnter
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
* @run junit/othervm LockedMonitorInNative
|
||||
*/
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -28,6 +28,7 @@
|
||||
* and ThreadInfo.getLockOwnerName()
|
||||
* @author Mandy Chung
|
||||
* @author Jaroslav Bachorik
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
*
|
||||
* @library /test/lib
|
||||
*
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -28,7 +28,7 @@
|
||||
* - ThreadMXBean.resetPeakThreadCount()
|
||||
* @author Mandy Chung
|
||||
* @author Jaroslav Bachorik
|
||||
*
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
* @build ResetPeakThreadCount
|
||||
* @build ThreadDump
|
||||
* @run main/othervm ResetPeakThreadCount
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -27,6 +27,7 @@
|
||||
* @summary Basic test of ThreadMXBean.getThreadCpuTime and
|
||||
* getCurrentThreadCpuTime.
|
||||
* @author Mandy Chung
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
*/
|
||||
|
||||
import java.lang.management.*;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -27,6 +27,7 @@
|
||||
* @summary Basic test of ThreadMXBean.getThreadUserTime and
|
||||
* getCurrentThreadUserTime.
|
||||
* @author Mandy Chung
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
*/
|
||||
|
||||
import java.lang.management.*;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,6 +25,7 @@
|
||||
* @bug 7176630 7074436
|
||||
* @summary Check for short writes on SocketChannels configured in blocking mode
|
||||
* @key randomness
|
||||
* @requires test.thread.factory != "Virtual"
|
||||
*/
|
||||
|
||||
import java.net.*;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user