test/hotspot/jtreg/vmTestbase/nsk/share/gc/lock/jni/LongArrayCriticalLocker.cpp
changeset 51774 79dc492c00ab
parent 51551 e409244ce72e
child 52132 04d4f1e4aff2
equal deleted inserted replaced
51773:720fd6544b03 51774:79dc492c00ab
    23 #include <jni.h>
    23 #include <jni.h>
    24 #include <stdio.h>
    24 #include <stdio.h>
    25 #include <time.h>
    25 #include <time.h>
    26 #include "jni_tools.h"
    26 #include "jni_tools.h"
    27 
    27 
    28 #ifdef __cplusplus
       
    29 extern "C" {
    28 extern "C" {
    30 #endif
       
    31 
    29 
    32 static jfieldID objFieldId = NULL;
    30 static jfieldID objFieldId = NULL;
    33 
    31 
    34 /*
    32 /*
    35  * Class:     nsk_share_gc_lock_jni_LongArrayCriticalLocker
    33  * Class:     nsk_share_gc_lock_jni_LongArrayCriticalLocker
    81         }
    79         }
    82         env->SetObjectField(o, objFieldId, arr);
    80         env->SetObjectField(o, objFieldId, arr);
    83         return hash;
    81         return hash;
    84 }
    82 }
    85 
    83 
    86 #ifdef __cplusplus
       
    87 }
    84 }
    88 #endif