Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8235218: Minimal VM is broken after JDK-8173361
Reviewed-by: sgehwolf, andrew
Backport-of: c10f731b11f314c97660df08c62f3c3d2f718f54
  • Loading branch information
Dongbo He authored and gnu-andrew committed Jul 10, 2022
1 parent eeef4de commit e005185
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hotspot/src/share/vm/prims/jvmtiImpl.hpp
Expand Up @@ -493,9 +493,9 @@ class JvmtiDeferredEvent VALUE_OBJ_CLASS_SPEC {
// Actually posts the event.
void post() NOT_JVMTI_RETURN;
// Sweeper support to keep nmethods from being zombied while in the queue.
void nmethods_do(CodeBlobClosure* cf);
void nmethods_do(CodeBlobClosure* cf) NOT_JVMTI_RETURN;
// GC support to keep nmethod from being unloaded while in the queue.
void oops_do(OopClosure* f, CodeBlobClosure* cf);
void oops_do(OopClosure* f, CodeBlobClosure* cf) NOT_JVMTI_RETURN;
};

/**
Expand Down Expand Up @@ -534,9 +534,9 @@ class JvmtiDeferredEventQueue : AllStatic {
static void enqueue(const JvmtiDeferredEvent& event) NOT_JVMTI_RETURN;
static JvmtiDeferredEvent dequeue() NOT_JVMTI_RETURN_(JvmtiDeferredEvent());
// Sweeper support to keep nmethods from being zombied while in the queue.
static void nmethods_do(CodeBlobClosure* cf);
static void nmethods_do(CodeBlobClosure* cf) NOT_JVMTI_RETURN;
// GC support to keep nmethod from being unloaded while in the queue.
static void oops_do(OopClosure* f, CodeBlobClosure* cf);
static void oops_do(OopClosure* f, CodeBlobClosure* cf) NOT_JVMTI_RETURN;

// Used to enqueue events without using a lock, for times (such as during
// safepoint) when we can't or don't want to lock the Service_lock.
Expand Down

1 comment on commit e005185

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.