これらは, CompiledIC 用の補助クラス (そのため, JIT 生成コード中の invokevirtual/invokeinterface の箇所でしか使われない) (See: CompiledIC).
((cite: hotspot/src/share/vm/code/icBuffer.hpp))
// For CompiledIC's:
//
// In cases where we do not have MT-safe state transformation,
// we go to a transition state, using ICStubs. At a safepoint,
// the inline caches are transferred from the transitional code:
//
// instruction_address --> 01 set xxx_oop, Ginline_cache_klass
// 23 jump_to Gtemp, yyyy
// 4 nop
(#Under Construction)
((cite: hotspot/src/share/vm/code/icBuffer.hpp))
class InlineCacheBuffer: public AllStatic {
(#Under Construction)
InlineCacheBuffer の中には invokevirtual や invokeinterface での dynamic dispatch 処理に使う stub が入っている.
なお, InlineCacheBuffer::ic_stub_code_size() は, 生成する stub の大きさを返す関数 (コード格納用のバッファの確保時に使用).
((cite: hotspot/src/share/vm/code/icBuffer.hpp))
static int ic_stub_code_size();
See: here for details
(#Under Construction)
((cite: hotspot/src/share/vm/code/icBuffer.hpp))
class ICStub: public Stub {
See: here for details
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.