RFR 8207814: (proxy) upgrade the proxy class generator

Roger Riggs Roger.Riggs at oracle.com
Fri Aug 16 19:15:30 UTC 2019

Please review an enhancement to replace the java.lang.reflect.Proxy 
class file generation.
The new generator uses ASM and generates stackmaps. The implementation 
the same structure as before but has many differences as it leverages 
ASM for generating the bytecode.
A Combo test is included and two JMH based benchmarks.

The ancient ProxyGenerator_15 implementation is temporarily retained
to allow comparisons of generated class files and performance.



(Upgrading bytecode generation is necessary for Valhalla but makes sense 
for the main line.)

Thanks, Roger

More information about the core-libs-dev mailing list