Testing OpenJDK14 Hotspot Garbage Collection with GDB

Samuel Thomas samuel_thomas at brown.edu
Wed Oct 7 14:10:55 UTC 2020


Hello,

I am relatively new to working with the OpenJDK framework and am writing to seek help with a task. I am currently attempting to compile and run some of the garbage collection tests within the OpenJDK14 library. In particular, I am in 

${HOME}/jdk14/test/hotspot/gtest/

and would like to run the gtestMain.cpp. However, I run into the issue of not having the header files available. I’ve copied them into this directory from other locations, but I am wondering a few questions in particular.

1) Is this the way in which these tests were to be performed, or did I miss something in the configuration of OpenJDK14?

2) What is the protocol for testing the Parallel GC application from the test repository? Even better would be if there is existing documentation for how to run these tests.

I appreciate the help!

Best,
Sam Thomas


More information about the discuss mailing list