3 ms·
Reflection would be way slower (even if you just consider the indirection), likely impose load-load barrier too. The constructs are not intended to introspect/h
by xxs 10y ago
Reflection would be way slower (even if you just consider the indirection), likely impose load-load barrier too.
The constructs are not intended to introspect/hack classes but provide means to access fields in a way JMM does not directly stipulate.