Altough the concept of “final“ fields is quite simple, its implementation in Java can lead to surprising effects. First of all, the Java VM and Java language have a slightly different understanding of “final“. Second (and unfortunately) declaring a field as final doesn’t mean that the VM or the programmer can really rely on its immutability.
This talk will show the differnt aspects of “finality“ and their impact on the Java compiler and the Java VM. It will demonstrate how finality can be circumvented in Java with the help of reflection or . And finally it will discuss the impacts this has on the optimzations done by the JIT compiler.
100 views
4377
1527
9 years ago 00:57:18 11
Volker Simonis — HotSpot Intrinsics
10 years ago 01:56:49 128
Volker Simonis — SAP JVM Internals
9 years ago 00:52:05 100
Volker Simonis - How “final“ is final?
8 years ago 00:57:20 2
Volker Simonis - HotSpot Intrinsics
7 years ago 00:54:50 0
Volker Simonis — Analyzing HotSpot Crashes
9 years ago 00:58:12 5
Volker Simonis — How «final» is final?
10 years ago 00:52:37 365
Иван Крылов, Владимир Иванов, Volker Simonis, Никита Липский — Круглый стол. Будущее Java-платформы
8 years ago 00:45:29 0
HotSpot Intrinsics (Volker Simonis, Germany)
7 years ago 00:55:38 0
Volker Simonis — HotSpot Internals: Safepoints, NullPointers and StackOverflows
9 years ago 00:59:37 2
Volker Simonis — Heart Surgery: HotSpot Debugging at the OS Level
7 years ago 00:48:37 0
Packed Objects, Object Layout & Value Types — a — Survey Volker Simonis
7 years ago 00:57:16 0
Class Data Sharing in the HotSpot VM (Volker Simonis, Germany)
7 years ago 00:07:08 12
Simone Kermes - Les oiseaux dans la charmille (Симона Кермес - ария Олимпии)