Java: what is JITC's reflection inflation?

前端 未结 3 1926
臣服心动
臣服心动 2020-12-24 15:49

I recently came across this interesting term and searched on Net to know more about it. However the info I found is sketchy. Could someone pl. give me a somewhat detailed ex

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 16:23

    Java Inflation is optimization of method calls made through Java Reflection API. It delegates infrequent method calls to cheap, immediately available but slow Java Native Interface and frequent method calls to fast but expensive, runtime generated method accessor.

提交回复
热议问题