Adding compiler optimization to open jdk

Mandar Shinde mandars at cse.iitb.ac.in
Thu Oct 16 15:38:01 UTC 2014


Hi,

I want to add an optimization to openjdk 6 (like some modifications to 
existing constant folding or CSE optimization), for which i have 
downloaded the source bundle.

However I am not able to figure out where to add the optimization and 
see my changes reflected in the code.

Also in some file like for

Eg.: hotspot/src/share/vm/c1/c1_Canonicalizer.cpp there are statements 
like /tty->print_cr(<some-statement>).

My question is where can we see these statements printed once we send 
our java source file to the compiler?

Thanks,
~Mandar



More information about the hotspot-dev mailing list