-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
b12
When creating a FileInputStream or FileOutputStream, we have special handling to register a cleanable if the subclass overrides close. These AltFinalizer classes are loaded eagerly, even though not strictly necessary.
A tiny inefficiency in itself, it also causes some deopts of dependent methods during bootstrap due the introduction of a (e.g. Object.<init>).
A tiny inefficiency in itself, it also causes some deopts of dependent methods during bootstrap due the introduction of a (e.g. Object.<init>).