test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/sampling/SP06/sp06t003/sp06t003.cpp
changeset 52809 7edc56620d42
parent 52114 3b8994cb4481
child 53039 3bc260237317
equal deleted inserted replaced
52808:064e5795fa59 52809:7edc56620d42
    60     int methodCompiled;
    60     int methodCompiled;
    61 } ThreadDesc;
    61 } ThreadDesc;
    62 
    62 
    63 /* descriptions of tested threads */
    63 /* descriptions of tested threads */
    64 static ThreadDesc threadsDesc[THREADS_COUNT] = {
    64 static ThreadDesc threadsDesc[THREADS_COUNT] = {
    65     {"threadRunning", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE},
    65     { "threadRunning", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE },
    66     {"threadEntering", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE},
    66     { "threadEntering", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE },
    67     {"threadWaiting", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE},
    67     { "threadWaiting", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE },
    68     {"threadSleeping", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE},
    68     { "threadSleeping", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE },
    69     {"threadRunningInterrupted", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE},
    69     { "threadRunningInterrupted", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE },
    70     {"threadRunningNative", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE}
    70     { "threadRunningNative", "testedMethod", "(ZI)V", NULL, NULL, NULL, NSK_JVMTI_INVALID_JLOCATION, NSK_FALSE }
    71 };
    71 };
    72 
    72 
    73 /* indexes of known threads */
    73 /* indexes of known threads */
    74 static const int interruptedThreadIndex = THREADS_COUNT - 2;
    74 static const int interruptedThreadIndex = THREADS_COUNT - 2;
    75 static const int nativeThreadIndex = THREADS_COUNT - 1;
    75 static const int nativeThreadIndex = THREADS_COUNT - 1;