[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-compiler-dev
Subject: How Java compiles concurrent code
From: forax () univ-mlv ! fr (=?ISO-8859-1?Q?R=E9mi_Forax?=)
Date: 2011-01-24 19:45:17
Message-ID: 4D3DD6CD.90307 () univ-mlv ! fr
[Download RAW message or body]
On 01/24/2011 08:32 PM, Edmon Begoli wrote:
> Hi,
>
> I am doing a research project on the compilation strategies employed
> by different families of languages (compiled, functional,
> compiled-interpreted) and I would like to get some information on how
> Java compiles synchronized and concurrent code (Thread/Runnable routines).
javap is your friend.
Take a concurrent code, compile it with javac and see it with javap -c
But you won't see a lot of things because in Java, all is hidden in the VM.
>
> I would to ask you if you can provide some examples or, if even
> available, point me to a tutorial that shows how Java compiles such
> routines.
>
> Thank you in advance,
> Edmon
R?mi
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic