Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8286647: JFR: Build failure when C1 or C2 is disabled after JDK-8282420 #8680

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions src/hotspot/share/jfr/jfr.hpp
Original file line number Diff line number Diff line change
@@ -34,18 +34,12 @@
class CallInfo;
class ciKlass;
class ciMethod;
class GraphBuilder;
class JavaThread;
class Klass;
class outputStream;
class Thread;

#ifdef COMPILER1
class GraphBuilder;
#endif

#ifdef COMPILER2
class Parse;
#endif
class Thread;

extern "C" void JNICALL jfr_register_natives(JNIEnv*, jclass);

@@ -67,12 +61,8 @@ class Jfr : AllStatic {
static void on_thread_start(Thread* thread);
static void on_thread_exit(Thread* thread);
static void on_resolution(const CallInfo& info, TRAPS);
#ifdef COMPILER2
static void on_resolution(const Parse* parse, const ciKlass* holder, const ciMethod* target);
#endif
#ifdef COMPILER1
static void on_resolution(const GraphBuilder* builder, const ciKlass* holder, const ciMethod* target);
#endif
static void on_java_thread_start(JavaThread* starter, JavaThread* startee);
static void on_set_current_thread(JavaThread* jt, oop thread);
static void on_vm_shutdown(bool exception_handler = false);