Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 9d0b4ff

Browse files
Ekaterina VergizovaYuri Nesterenko
authored andcommitted
8235218: Minimal VM is broken after JDK-8173361
Backport-of: c10f731
1 parent 7943806 commit 9d0b4ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/hotspot/share/prims/jvmtiImpl.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,9 @@ class JvmtiDeferredEvent {
481481
// Actually posts the event.
482482
void post() NOT_JVMTI_RETURN;
483483
// Sweeper support to keep nmethods from being zombied while in the queue.
484-
void nmethods_do(CodeBlobClosure* cf);
484+
void nmethods_do(CodeBlobClosure* cf) NOT_JVMTI_RETURN;
485485
// GC support to keep nmethod from being unloaded while in the queue.
486-
void oops_do(OopClosure* f, CodeBlobClosure* cf);
486+
void oops_do(OopClosure* f, CodeBlobClosure* cf) NOT_JVMTI_RETURN;
487487
};
488488

489489
/**
@@ -518,9 +518,9 @@ class JvmtiDeferredEventQueue : AllStatic {
518518
static void enqueue(const JvmtiDeferredEvent& event) NOT_JVMTI_RETURN;
519519
static JvmtiDeferredEvent dequeue() NOT_JVMTI_RETURN_(JvmtiDeferredEvent());
520520
// Sweeper support to keep nmethods from being zombied while in the queue.
521-
static void nmethods_do(CodeBlobClosure* cf);
521+
static void nmethods_do(CodeBlobClosure* cf) NOT_JVMTI_RETURN;
522522
// GC support to keep nmethod from being unloaded while in the queue.
523-
static void oops_do(OopClosure* f, CodeBlobClosure* cf);
523+
static void oops_do(OopClosure* f, CodeBlobClosure* cf) NOT_JVMTI_RETURN;
524524
};
525525

526526
// Utility macro that checks for NULL pointers:

0 commit comments

Comments
 (0)