RFC: 8023657: Extra type profiling points could help C2 code generation

Roland Westrelin roland.westrelin at oracle.com
Fri Aug 23 08:02:06 PDT 2013

John suggested I send this out for pre-review.

This change adds extra type profiling: a limited number of incoming arguments to methods, return values from calls, a limited number of arguments passed to calls. Only x86 interpreted is implemented here and there's no code on the c2 side to take advantage of the extra profiling (that's something I'm working on in a separate change). The code lacks comments and can probably be cleaned up so this is not a request for an in depth review. Profiling of arguments to calls may be limited to a subset of methods in the final change (in order to limit the footprint increase and impact on start up) depending on what we find is necessary to help code generation.



More information about the hotspot-compiler-dev mailing list