-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Injecting ThreadPinnedEvents with loom-unit events doesn't work #36569
Comments
First opened in loom-unit cescoffier/loom-unit#3 |
/cc @cescoffier (virtual-threads), @ozangunalp (virtual-threads) |
@cescoffier did you try the patch we talked about, or do you want to me to look into this? |
I did not tried it yet |
@geoand I tried... it's not enough. I've already found multiple issues. I reduced the amount of objects to serialize to workaround several issues, but I'm now down to see how I can serialize JFR Events when you do not have access to other JFR package. |
Unfortunately the situation is pretty terrible WRT test parameters. Hopefully that will change with Holly's JUnit 5.10 change |
1 similar comment
Unfortunately the situation is pretty terrible WRT test parameters. Hopefully that will change with Holly's JUnit 5.10 change |
Describe the bug
Following https://quarkus.io/blog/virtual-threads-3/ I've tried to use @cescoffier's loom-unit library and inject
ThreadPinnedEvents
with the latest Quarkus 3.4.3, but I'm first getting an error about a not opened module, and after opening it, then an NPE.Tested with
Corretto-21.0.0.35.1 (build 21+35-LTS)
andTemurin-21+35 (build 21+35-LTS)
Expected behavior
Should be able to run tests
Actual behavior
error after adding adding
--add-opens java.base/java.util=ALL-UNNAMED
How to Reproduce?
Unzip demo.tar.gz
and run
./mvnw verify
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "21" 2023-09-19 LTS OpenJDK Runtime Environment Corretto-21.0.0.35.1 (build 21+35-LTS) OpenJDK 64-Bit Server VM Corretto-21.0.0.35.1 (build 21+35-LTS, mixed mode, sharing)
Quarkus version or git rev
3.4.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f)
Additional information
No response
The text was updated successfully, but these errors were encountered: