top | item 39829666

(no title)

anonymous-panda | 1 year ago

Could javac do the analysis and record it in the bytecode for HotSpot to optimize? Or is this kind of hybrid teamwork not done?

discuss

order

mike_hearn|1 year ago

It is done, but for this case the problem is partial compilation. For this you'd need methods to be tagged as pure, but that assumption needs to propagate and it could be violated by a library being upgraded.