7070#include " jfr/jfr.hpp"
7171#endif
7272
73- #if defined(TARGET_COMPILER_gcc)
74- #undef JNIEXPORT
75- #define JNIEXPORT
76- #endif
77-
7873JVMCIKlassHandle::JVMCIKlassHandle (Thread* thread, Klass* klass) {
7974 _thread = thread;
8075 _klass = klass;
@@ -187,7 +182,7 @@ Handle JavaArgumentUnboxer::next_arg(BasicType expectedType) {
187182// Entry to native method implementation that transitions
188183// current thread to '_thread_in_vm'.
189184#define C2V_VMENTRY (result_type, name, signature ) \
190- JNIEXPORT result_type JNICALL c2v_ ## name signature { \
185+ result_type JNICALL c2v_ ## name signature { \
191186 JavaThread* thread = JavaThread::current_or_null (); \
192187 if (thread == nullptr ) { \
193188 env->ThrowNew (JNIJVMCI::InternalError::clazz (), \
@@ -198,7 +193,7 @@ Handle JavaArgumentUnboxer::next_arg(BasicType expectedType) {
198193 JVMCITraceMark jtm (" CompilerToVM::" #name);
199194
200195#define C2V_VMENTRY_ (result_type, name, signature, result ) \
201- JNIEXPORT result_type JNICALL c2v_ ## name signature { \
196+ result_type JNICALL c2v_ ## name signature { \
202197 JavaThread* thread = JavaThread::current_or_null (); \
203198 if (thread == nullptr ) { \
204199 env->ThrowNew (JNIJVMCI::InternalError::clazz (), \
@@ -214,7 +209,7 @@ Handle JavaArgumentUnboxer::next_arg(BasicType expectedType) {
214209// Entry to native method implementation that does not transition
215210// current thread to '_thread_in_vm'.
216211#define C2V_VMENTRY_PREFIX (result_type, name, signature ) \
217- JNIEXPORT result_type JNICALL c2v_ ## name signature { \
212+ result_type JNICALL c2v_ ## name signature { \
218213 JavaThread* thread = JavaThread::current_or_null ();
219214
220215#define C2V_END }
0 commit comments