RFR (L): 8062370: Various minor code improvements
Stefan Särne
stefan.sarne at oracle.com
Fri Nov 7 10:37:51 UTC 2014
Hi Thomas,
There are 2 parts to this answer.
1. Today there is a test utility similar to what you describe called VM
Internal Tests inside HotSpot.
See the jtreg test invokes it as a starting point:
hotspot/test/sanity/ExecuteInternalVMTests.java
2. We are doing a proof of concept for a xunit based C++ unit test
framework for the VM. The JEP is forthcoming.
I recommend you to wait for the latter.
There are several engineers who does already.
Best regards,
/Stefan
Thomas Stüfe skrev 2014-11-07 10:08:
>
> In the SAP JVM we have regression tests for C/C++ code, similar to jprt,
> but on C function level. Nothing fancy, just some big test functions which
> test our C APIs for regressions like this. That code is just compiled into
> the hotspot and can be executed with a command line switch, but gets
> excluded in release builds.
> Is there something similar for the OpenJDK? If yes, I would provide test
> functions for jio_snprintf. If no, would it be worth contributing?
>
>
More information about the hotspot-dev
mailing list