8224020: AsyncGetCallTrace test should not run on PPC64 or IA64
Restrict the test to the right architectures Reviewed-by: cjplummer, sspitsyn, simonis
This commit is contained in:
parent
bddd94f0a6
commit
c8319ed0cc
@ -28,7 +28,8 @@ package MyPackage;
|
||||
* @test
|
||||
* @summary Verifies that AsyncGetCallTrace is call-able and provides sane information.
|
||||
* @compile ASGCTBaseTest.java
|
||||
* @requires (os.family == "linux")
|
||||
* @requires os.family == "linux"
|
||||
* @requires os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64" | os.arch=="arm" | os.arch=="sparc" | os.arch=="aarch64"
|
||||
* @run main/othervm/native -agentlib:AsyncGetCallTraceTest MyPackage.ASGCTBaseTest
|
||||
*/
|
||||
|
||||
|
@ -185,7 +185,7 @@ typedef void (*ASGCTType)(ASGCT_CallTrace *, jint, void *);
|
||||
|
||||
JNIEXPORT jboolean JNICALL
|
||||
Java_MyPackage_ASGCTBaseTest_checkAsyncGetCallTraceCall(JNIEnv* env, jclass cls) {
|
||||
ASGCTType agct = reinterpret_cast<ASGCTType>(dlsym(NULL, "AsyncGetCallTrace"));
|
||||
ASGCTType agct = reinterpret_cast<ASGCTType>(dlsym(RTLD_DEFAULT, "AsyncGetCallTrace"));
|
||||
|
||||
const int MAX_DEPTH = 16;
|
||||
ASGCT_CallTrace trace;
|
||||
|
Loading…
Reference in New Issue
Block a user