Roland Westrelin | 1 Aug 2011 14:00
Picon
Favicon

Re: proposed membar simplification in c2


While doing more testing I found that I had to make some changes in src/share/vm/adlc/formssel.cpp as
well. Here is an updated webrev:

http://cr.openjdk.java.net/~roland/membar/webrev.03/

Roland.
Vladimir Kozlov | 1 Aug 2011 17:21
Picon
Favicon

Re: proposed membar simplification in c2

Good.

Vladimir

On 8/1/11 5:00 AM, Roland Westrelin wrote:
>
> While doing more testing I found that I had to make some changes in src/share/vm/adlc/formssel.cpp as
well. Here is an updated webrev:
>
> http://cr.openjdk.java.net/~roland/membar/webrev.03/
>
> Roland.

Christian Thalinger | 2 Aug 2011 10:46
Picon
Favicon

Re: proposed membar simplification in c2

Looks good.  -- Christian

On Aug 1, 2011, at 2:00 PM, Roland Westrelin wrote:

> 
> While doing more testing I found that I had to make some changes in src/share/vm/adlc/formssel.cpp as
well. Here is an updated webrev:
> 
> http://cr.openjdk.java.net/~roland/membar/webrev.03/
> 
> Roland.

Joe Kearney | 3 Aug 2011 16:17
Picon

IdealGraphVisualizer file compatibility

Hi,

I've been trying to play with igv from
http://ssw.jku.at/General/Staff/TW/igv.html,
http://ssw.jku.at/General/Staff/PH/ but I don't know how to generate
the required log files. What sort of files should I expect the igv to
be able to read? The example files are graphDocument XMLs. I was
hoping to be able to generate a file with something like the
following:

-XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:LogFile=output.xml

Needless to say, these hotspot_log files are totally different and the
igv barfs with the below.

java.lang.NullPointerException
	at com.sun.hotspot.igv.data.GraphDocument.addGraphDocument(GraphDocument.java:70)
	at com.sun.hotspot.igv.coordinator.actions.ImportAction$3.run(ImportAction.java:128)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

How do I get the jvm to generate the right output file?

Many thanks,
Joe

Christian Thalinger | 3 Aug 2011 16:51
Picon
Favicon

Re: IdealGraphVisualizer file compatibility

You want:  -XX:PrintIdealGraphLevel=1 -XX:PrintIdealGraphFile=output.xml

The README of the visualizer also helps:

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/file/tip/src/share/tools/IdealGraphVisualizer/README

-- Christian

On Aug 3, 2011, at 4:17 PM, Joe Kearney wrote:

> Hi,
> 
> I've been trying to play with igv from
> http://ssw.jku.at/General/Staff/TW/igv.html,
> http://ssw.jku.at/General/Staff/PH/ but I don't know how to generate
> the required log files. What sort of files should I expect the igv to
> be able to read? The example files are graphDocument XMLs. I was
> hoping to be able to generate a file with something like the
> following:
> 
> -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:LogFile=output.xml
> 
> Needless to say, these hotspot_log files are totally different and the
> igv barfs with the below.
> 
> java.lang.NullPointerException
> 	at com.sun.hotspot.igv.data.GraphDocument.addGraphDocument(GraphDocument.java:70)
> 	at com.sun.hotspot.igv.coordinator.actions.ImportAction$3.run(ImportAction.java:128)
> 	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
> [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
(Continue reading)

Joe Kearney | 3 Aug 2011 18:37
Picon

Re: IdealGraphVisualizer file compatibility

Ah, thanks for the readme link.

I can't get hotspot 1.6.0_25 or 1.7.0 to recognise the
PrintIdealGraphLevel/PrintIdealGraphFile options. I tried with
UnlockDiagnosticVMOptions etc as well. to no avail. Is there something
else needed to expose this?

Joe

On 3 August 2011 15:51, Christian Thalinger
<christian.thalinger@...> wrote:
> You want:  -XX:PrintIdealGraphLevel=1 -XX:PrintIdealGraphFile=output.xml
>
> The README of the visualizer also helps:
>
> http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/file/tip/src/share/tools/IdealGraphVisualizer/README
>
> -- Christian
>
> On Aug 3, 2011, at 4:17 PM, Joe Kearney wrote:
>
>> Hi,
>>
>> I've been trying to play with igv from
>> http://ssw.jku.at/General/Staff/TW/igv.html,
>> http://ssw.jku.at/General/Staff/PH/ but I don't know how to generate
>> the required log files. What sort of files should I expect the igv to
>> be able to read? The example files are graphDocument XMLs. I was
>> hoping to be able to generate a file with something like the
>> following:
(Continue reading)

Christian Thalinger | 3 Aug 2011 18:40
Picon
Favicon

Re: IdealGraphVisualizer file compatibility

You need a debug build.  -- Christian

On Aug 3, 2011, at 6:37 PM, Joe Kearney wrote:

> Ah, thanks for the readme link.
> 
> I can't get hotspot 1.6.0_25 or 1.7.0 to recognise the
> PrintIdealGraphLevel/PrintIdealGraphFile options. I tried with
> UnlockDiagnosticVMOptions etc as well. to no avail. Is there something
> else needed to expose this?
> 
> Joe
> 
> On 3 August 2011 15:51, Christian Thalinger
> <christian.thalinger@...> wrote:
>> You want:  -XX:PrintIdealGraphLevel=1 -XX:PrintIdealGraphFile=output.xml
>> 
>> The README of the visualizer also helps:
>> 
>> http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/file/tip/src/share/tools/IdealGraphVisualizer/README
>> 
>> -- Christian
>> 
>> On Aug 3, 2011, at 4:17 PM, Joe Kearney wrote:
>> 
>>> Hi,
>>> 
>>> I've been trying to play with igv from
>>> http://ssw.jku.at/General/Staff/TW/igv.html,
>>> http://ssw.jku.at/General/Staff/PH/ but I don't know how to generate
(Continue reading)

Tom Rodriguez | 3 Aug 2011 18:42
Picon
Favicon

Re: IdealGraphVisualizer file compatibility

It's not available in the product as it's really intended for developers.  Use a fastdebug build.

tom

On Aug 3, 2011, at 9:37 AM, Joe Kearney wrote:

> Ah, thanks for the readme link.
> 
> I can't get hotspot 1.6.0_25 or 1.7.0 to recognise the
> PrintIdealGraphLevel/PrintIdealGraphFile options. I tried with
> UnlockDiagnosticVMOptions etc as well. to no avail. Is there something
> else needed to expose this?
> 
> Joe
> 
> On 3 August 2011 15:51, Christian Thalinger
> <christian.thalinger@...> wrote:
>> You want:  -XX:PrintIdealGraphLevel=1 -XX:PrintIdealGraphFile=output.xml
>> 
>> The README of the visualizer also helps:
>> 
>> http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/file/tip/src/share/tools/IdealGraphVisualizer/README
>> 
>> -- Christian
>> 
>> On Aug 3, 2011, at 4:17 PM, Joe Kearney wrote:
>> 
>>> Hi,
>>> 
>>> I've been trying to play with igv from
(Continue reading)

Joe Kearney | 3 Aug 2011 19:00
Picon

Re: IdealGraphVisualizer file compatibility

Oh ok, I didn't realise. Thanks. Are there any plans to make it more
widely available? I can see it being useful for experimenting to
squeeze performance.

Thanks,
Joe

On 3 August 2011 17:42, Tom Rodriguez <tom.rodriguez@...> wrote:
> It's not available in the product as it's really intended for developers.  Use a fastdebug build.
>
> tom
>
> On Aug 3, 2011, at 9:37 AM, Joe Kearney wrote:
>
>> Ah, thanks for the readme link.
>>
>> I can't get hotspot 1.6.0_25 or 1.7.0 to recognise the
>> PrintIdealGraphLevel/PrintIdealGraphFile options. I tried with
>> UnlockDiagnosticVMOptions etc as well. to no avail. Is there something
>> else needed to expose this?
>>
>> Joe
>>
>> On 3 August 2011 15:51, Christian Thalinger
>> <christian.thalinger@...> wrote:
>>> You want:  -XX:PrintIdealGraphLevel=1 -XX:PrintIdealGraphFile=output.xml
>>>
>>> The README of the visualizer also helps:
>>>
>>> http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/file/tip/src/share/tools/IdealGraphVisualizer/README
(Continue reading)

Igor Veresov | 3 Aug 2011 22:40
Picon
Favicon

review(XXS): 7060842: UseNUMA crash with UseHugreTLBFS running SPECjvm2008

It seems that madvise(MADV_FREE) breaks pages reservation semantics of 
the the underlying segment. With tight memory constraints this would 
cause a race for pages and a segfault if the JVM louses. The solution is 
to revert back to the previous implementation of os::free_memory() that 
used mmap().

Webrev: http://cr.openjdk.java.net/~iveresov/7060842/webrev.00/

Tested is gc test suite.

igor


Gmane