Skip to content

Commit e005185

Browse files
Dongbo Hegnu-andrew
Dongbo He
authored andcommittedJul 10, 2022
8235218: Minimal VM is broken after JDK-8173361
Reviewed-by: sgehwolf, andrew Backport-of: c10f731b11f314c97660df08c62f3c3d2f718f54
1 parent eeef4de commit e005185

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎hotspot/src/share/vm/prims/jvmtiImpl.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -493,9 +493,9 @@ class JvmtiDeferredEvent VALUE_OBJ_CLASS_SPEC {
493493
// Actually posts the event.
494494
void post() NOT_JVMTI_RETURN;
495495
// Sweeper support to keep nmethods from being zombied while in the queue.
496-
void nmethods_do(CodeBlobClosure* cf);
496+
void nmethods_do(CodeBlobClosure* cf) NOT_JVMTI_RETURN;
497497
// GC support to keep nmethod from being unloaded while in the queue.
498-
void oops_do(OopClosure* f, CodeBlobClosure* cf);
498+
void oops_do(OopClosure* f, CodeBlobClosure* cf) NOT_JVMTI_RETURN;
499499
};
500500

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.