Skip to content

Commit 27003b5

Browse files
author
Kim Barrett
committed
8326090: Rename jvmti_aod.h
Reviewed-by: coleenp, sspitsyn
1 parent 36246c9 commit 27003b5

27 files changed

+33
-33
lines changed

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach002/attach002Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030
#include "ExceptionCheckingJniEnv.hpp"
3131

3232
extern "C" {

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach002a/attach002aAgent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach008/attach008Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach009/attach009Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach012/attach012Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach014/attach014Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach015/attach015Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach015/attach015Agent01.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach015/attach015Target.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach020/attach020Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach021/attach021Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030
#include "ExceptionCheckingJniEnv.hpp"
3131

3232
extern "C" {

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach022/attach022Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030
#include "ExceptionCheckingJniEnv.hpp"
3131

3232
extern "C" {

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach037/attach037Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach038/attach038Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach039/attach039Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach040/attach040Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach041/attach041Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach042/attach042Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach045/attach045Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach045/attach045Agent01.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach045/attach045Agent02.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach045/attach045Agent03.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach046/attach046Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach050/attach050Agent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
#define ON_UNLOAD_MARKER "attach050.on_unload"
3232

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/sharedAgents/simpleAgent00.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <jni.h>
2727
#include <jvmti.h>
2828
#include <aod.h>
29-
#include <jvmti_aod.h>
29+
#include <jvmti_aod.hpp>
3030

3131
extern "C" {
3232

test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/aod/jvmti_aod.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
#include <string.h>
2424
#include <stdlib.h>
25-
#include <jvmti_aod.h>
25+
#include <jvmti_aod.hpp>
2626

2727
extern "C" {
2828

test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/aod/jvmti_aod.h renamed to test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/aod/jvmti_aod.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -20,8 +20,8 @@
2020
* or visit www.oracle.com if you need additional information or have any
2121
* questions.
2222
*/
23-
#ifndef NSK_SHARE_JVMTI_AOD_H
24-
#define NSK_SHARE_JVMTI_AOD_H
23+
#ifndef NSK_SHARE_JVMTI_AOD_HPP
24+
#define NSK_SHARE_JVMTI_AOD_HPP
2525

2626
#include <aod.h>
2727
#include <jvmti.h>
@@ -68,8 +68,8 @@ int nsk_jvmti_aod_getThreadName(jvmtiEnv * jvmti, jthread thread, char threadNam
6868

6969
// events enabling/disabling
7070

71-
#define nsk_jvmti_aod_enableEvent(X,Y) NSK_JVMTI_VERIFY(X->SetEventNotificationMode(JVMTI_ENABLE, Y, NULL))
72-
#define nsk_jvmti_aod_disableEvent(X,Y) NSK_JVMTI_VERIFY(X->SetEventNotificationMode(JVMTI_DISABLE, Y, NULL))
71+
#define nsk_jvmti_aod_enableEvent(X,Y) NSK_JVMTI_VERIFY(X->SetEventNotificationMode(JVMTI_ENABLE, Y, nullptr))
72+
#define nsk_jvmti_aod_disableEvent(X,Y) NSK_JVMTI_VERIFY(X->SetEventNotificationMode(JVMTI_DISABLE, Y, nullptr))
7373

7474
int nsk_jvmti_aod_enableEvents(jvmtiEnv* jvmti, jvmtiEvent events[], int eventsNumber);
7575
int nsk_jvmti_aod_disableEvents(jvmtiEnv* jvmti, jvmtiEvent events[], int eventsNumber);
@@ -90,4 +90,4 @@ void printCapabilities(jvmtiCapabilities caps);
9090

9191
}
9292

93-
#endif /* END OF NSK_SHARE_JVMTI_AOD_H */
93+
#endif /* END OF NSK_SHARE_JVMTI_AOD_HPP */

0 commit comments

Comments
 (0)