Ho do I launch hotspot gtests?

Thomas Stüfe thomas.stuefe at gmail.com
Thu Dec 1 11:44:13 UTC 2016


Hi all,

a small question, what is the correct way to execute the hotspot gtests?

I find that I can run <libjvm.so>/gtestLauncher and it will execute the
tests, is that the normal way to go?

But it then always requires a jdk argument, which seems odd considering the
gtest launcher is located right beside the libjvm.so and so should know the
jdk directory.

Also, running the test a second time I get a crash (on windows) in
LogFileOutput.invalid_file_test:

#
#  Internal Error
(c:\d031900\openjdk\jdk9-hs2\source\hotspot\test\native\logging\logTestUtils.inline.hpp:52),
pid=16488, tid=11288
#  assert(!file_exists(name)) failed: can't create directory: tmplogdir
already exists
#

which looks to me that some cleanup steps are missing and that maybe I do
things the wrong way.

Thanks for clarifying,

Thomas


More information about the hotspot-dev mailing list