File tree 2 files changed +4
-6
lines changed
src/hotspot/share/runtime
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2018, 2022 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2018, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
26
26
#include " classfile/vmSymbols.hpp"
27
27
#include " gc/shared/barrierSetNMethod.hpp"
28
28
#include " oops/method.inline.hpp"
29
- #include " runtime/arguments.hpp"
30
29
#include " runtime/continuation.hpp"
31
30
#include " runtime/continuationEntry.inline.hpp"
32
31
#include " runtime/continuationHelper.inline.hpp"
@@ -411,9 +410,8 @@ void Continuations::init() {
411
410
Continuation::init ();
412
411
}
413
412
414
- // While virtual threads are in Preview, there are some VM mechanisms we disable if continuations aren't used
415
413
bool Continuations::enabled () {
416
- return VMContinuations && Arguments::enable_preview () ;
414
+ return VMContinuations;
417
415
}
418
416
419
417
#define CC (char *) /* cast a literal from (const char*)*/
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2018, 2022 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2018, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -39,7 +39,7 @@ class RegisterMap;
39
39
class Continuations : public AllStatic {
40
40
public:
41
41
static void init ();
42
- static bool enabled (); // TODO: used while virtual threads are in Preview; remove when GA
42
+ static bool enabled ();
43
43
};
44
44
45
45
void continuations_init ();
You can’t perform that action at this time.
0 commit comments