Testing OpenJDK14 Hotspot Garbage Collection with GDB

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Wed Oct 7 14:34:54 UTC 2020


Hi Sam

There is a section about how to run tests in need of being written in the OpenJDK Developers' Guide. I'd like to provide this section in order to help you. Let's work off list to make sure the documentation gets updated with what you need.

Cheers,
/Jesper

> On 7 Oct 2020, at 16:10, Samuel Thomas <samuel_thomas at brown.edu> wrote:
> 
> 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