< prev index next >

src/demo/share/jvmti/compiledMethodLoad/compiledMethodLoad.c

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *

@@ -223,11 +223,11 @@
 
 /* Agent_OnLoad() is called first, we prepare for a COMPILED_METHOD_LOAD
  * event here.
  */
 JNIEXPORT jint JNICALL
-Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
+DEF_Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
 {
     jint                rc;
     jvmtiError          err;
     jvmtiCapabilities   capabilities;
     jvmtiEventCallbacks callbacks;

@@ -270,8 +270,8 @@
     return 0;
 }
 
 /* Agent_OnUnload() is called last */
 JNIEXPORT void JNICALL
-Agent_OnUnload(JavaVM *vm)
+DEF_Agent_OnUnload(JavaVM *vm)
 {
 }
< prev index next >