RFR (M): 7177003 C1: LogCompilation support (original) (raw)

Christian Thalinger christian.thalinger at oracle.com
Tue Sep 25 16:03:29 PDT 2012


On Sep 25, 2012, at 2:23 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:

7177003: C1: LogCompilation support http://cr.openjdk.java.net/~vlivanov/7177003/

src/share/vm/runtime/globals.hpp:

Why did you change this one? Because of the consistent method numbering?

src/share/vm/c1/c1_GraphBuilder.cpp:

Not sure about this change. PrintInlining will now print this line for all inlinees.

-- Chris

LogCompilation support in C1 - both client [1] and tiered [2] modes. These changes are only for Hotspot. LogCompilation tool changes will be sent separately. Also: - print code cache state (after each nmethod installation) Example: <codecache_ _totalblobs='258'_ _nmethods='50'_ _adapters='133'_ _freecodecache='98839808'_ _largestfreeblock='98832512'/> - consistent nmethod numbering between ordinary and OSR compilations

- correct printing of thread id's - added missed tty locks where necessary

Thanks! Best regards, Vladimir Ivanov PS: actually, if it simplifies review, I can send cleanup/small enhancements as a separate change. PPS: phew! Finally deciphered how deoptimization in C1 works =) [1] http://cr.openjdk.java.net/~vlivanov/7177003/webrev.00/compilation.client.log [2] http://cr.openjdk.java.net/~vlivanov/7177003/webrev.00/compilation.tiered.log



More information about the hotspot-compiler-dev mailing list