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

Ofir Gordon ofirg6 at gmail.com
Tue Sep 8 09:03:39 UTC 2020


Thank you for the quick response!

Can you please explain what you meant in the last comment?
If I don't need that, how can I implement this change in the code I'm using?
Say, if I want to add code that binds a new created thread to a specific
core (I'm familiar with the c++ code required to do so, but where should I
add it in the hotspot source code?)

Regarding the platform, I'm currently just testing it on a linux x86_64 bit
system, but the plan is to run it on a simulated arm 64bit architecture (I
don't know if it makes any difference for where I do the changes in the
source code).


‫בתאריך יום ג׳, 8 בספט׳ 2020 ב-11:35 מאת ‪Aleksey Shipilev‬‏ <‪
shade at redhat.com‬‏>:‬

> On 9/8/20 10:29 AM, Ofir Gordon wrote:
> > 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.
>
> "os_aix" implies that is OS-specific code for AIX. Unless you are building
> the binary for AIX, that
> code would not get compiled.
>
> > What is the correct way of making changes in this part of the code?
>
> The correct way is to either get the AIX machine to test this change, or
> kindly ask AIX port
> maintainers to test it for you.
>
> But chances are, you don't need that if you are just prototyping the
> change, which must be fine for
> a single target platform you have (I assume something like Linux x86_64).
>
> --
> Thanks,
> -Aleksey
>
>


More information about the hotspot-dev mailing list