Skip to content

Commit 2eb7790

Browse files
authored
Merge pull request quarkusio#36230 from brunolellis/fix/runonvirtualthread-typo
Fix RunOnVirtualThread typo
2 parents 7bfa75c + 5eee00c commit 2eb7790

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/main/asciidoc/virtual-threads.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ For each of them, the object stored in the `ThreadLocal` is created (often large
147147
This problem leads to high memory usage.
148148
Unfortunately, it requires sophisticated code changes in the libraries themselves.
149149

150-
=== Use @RunVirtualThread with RESTEasy Reactive
150+
=== Use @RunOnVirtualThread with RESTEasy Reactive
151151

152152
This section shows a brief example of using the link:{runonvthread}[@RunOnVirtualThread] annotation.
153153
It also explains the various development and execution models offered by Quarkus.
@@ -296,7 +296,7 @@ Note that all three models can be used in a single application.
296296

297297
== Use virtual thread friendly clients
298298

299-
As mentioned in the href:why-not[Why not run everything on virtual threads?] section, the Java ecosystem is not entirely ready for virtual threads.
299+
As mentioned in the xref:why-not[Why not run everything on virtual threads?] section, the Java ecosystem is not entirely ready for virtual threads.
300300
So, you need to be careful, especially when using a libraries doing I/O.
301301

302302
Fortunately, Quarkus provides a massive ecosystem that is ready to be used in virtual threads.
@@ -375,7 +375,7 @@ mvn package
375375

376376
=== Using a local GraalVM installation
377377

378-
To compile a Quarkus applications leveraging `@RunOnVirtualThreads` into native executable, you must be sure to use a GraalVM / Mandrel `native-image` supporting virtual threads, so providing at least Java 19+.
378+
To compile a Quarkus applications leveraging `@RunOnVirtualThread` into native executable, you must be sure to use a GraalVM / Mandrel `native-image` supporting virtual threads, so providing at least Java 19+.
379379

380380
Then, until Java 21, you need to add the following property to your `application.properties` file:
381381

@@ -532,4 +532,4 @@ public class LoomUnitExampleTest {
532532

533533
== Additional references
534534

535-
- https://dl.acm.org/doi/10.1145/3583678.3596895[Considerations for integrating virtual threads in a Java framework: a Quarkus example in a resource-constrained environment]
535+
- https://dl.acm.org/doi/10.1145/3583678.3596895[Considerations for integrating virtual threads in a Java framework: a Quarkus example in a resource-constrained environment]

0 commit comments

Comments
 (0)