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

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Tue Sep 8 08:47:01 UTC 2020


Hi,

The os_aix files are the implementation of the aix OS port.
AIX is an operating system by IBM

These files will be used if you build on AIX.

I would guess you build on linux.  In this case you need
to edit the os_linux files.

Best regards,
  Goetz.


> -----Original Message-----
> From: hotspot-dev <hotspot-dev-retn at openjdk.java.net> On Behalf Of Ofir
> Gordon
> Sent: Tuesday, September 8, 2020 10:30 AM
> To: hotspot-dev at openjdk.java.net
> Subject: How to build changes made in "os" directory files?
> 
> 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