8287437: Temporarily disable Continuations::enabled() for platforms which don't have an implementation, yet
Reviewed-by: shade, alanb, rrich
This commit is contained in:
parent
eb8d067b56
commit
b1b9674663
@ -412,7 +412,11 @@ void Continuations::init() {
|
||||
// While virtual threads are in Preview, there are some VM mechanisms we disable if continuations aren't used
|
||||
// See NMethodSweeper::do_stack_scanning and nmethod::is_not_on_continuation_stack
|
||||
bool Continuations::enabled() {
|
||||
#if defined(AMD64) || defined(AARCH64)
|
||||
return Arguments::enable_preview();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
// We initialize the _gc_epoch to 2, because previous_completed_gc_marking_cycle
|
||||
|
Loading…
x
Reference in New Issue
Block a user