How to build changes made in "os" directory files?

Ofir Gordon ofirg6 at gmail.com
Tue Sep 8 08:29:40 UTC 2020


Hello everyone,

I'm working on the jdk14 source code, and I'm trying to make some changes
in the gc code. Any changes that I make in files under the "shared" code
directory appear in the compiled program as expected.
The problem is when I'm trying to change the code in a file under the "os"
directory (specifically "os_aix"), the changes don't seem to appear in the
compiled program.

I build the program with the `make images` command and use the output
program to run a simple java program.

What is the correct way of making changes in this part of the code?

To elaborate a little more, my intention is to intervene in the part where
a new thread is created for a gc task, in order to bind this thread to a
specific core. If there is a simple way to do so or if the "os_aix" file is
not the correct place, I would be happy to hear your advice.

Thanks a lot,
Ofir


More information about the hotspot-dev mailing list