Hi JC,

Go to openjdk.java.net and join the adoption-discuss mailing list - it's
pretty much the place for folks new to OpenJDK tinkering :-).   I help run
that group, so look forward to your mail there :-).

Cheers,
Martijn

On 12 April 2017 at 08:36, Avi Kivity <[email protected]> wrote:

> It is probably better to ask this on a jdk oriented mailing list, and not
> on a list which at list nominally is devoted to mechanical sympathy.
>
> On 04/12/2017 08:31 AM, J Crawford wrote:
>
> Hello,
>
> I'm trying to understand what happens inside the SocketDispatcher native
> method "write0". I want to make some experiments with it therefore I would
> like to learn how to recompile and debug native methods from the JDK on
> Linux. That's a knowledge I find important to have (i.e. change JDK native
> code).
>
> Here is the SO post: http://stackoverflow.com/questions/43360875/how-to-
> change-java-native-code-c-implementation-from-the-jdk-socketchannelimp
>
> Any genius would know how to do that?
>
> Basically I would like to know:
>
> 1. Where is the C/C++ code for write0 for Linux?
> 2. How do I recompile (gcc command-line?) the C/C++ code for write0 on
> Linux?
> 3. How do I start my JVM and make it use my new compiled native code for
> write0 on Linux?
>
> Thanks!
>
> -JC
> --
> You received this message because you are subscribed to the Google Groups
> "mechanical-sympathy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "mechanical-sympathy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to