DiscoverInside Java“JEP 421 and Finalization Deprecation”
“JEP 421 and Finalization Deprecation”

“JEP 421 and Finalization Deprecation”

Update: 2022-01-121
Share

Description

In this episode, David remotely sat down with Brent Christian to discuss Finalization and the effort to gradually deprecate this now outdated, brittle, and complex mechanism from the platform. After covering some of the finalization weaknesses, Brent discusses the alternatives to properly deal with resources, i.e. try with resources and the Cleaner API. He then continues with JEP 421 which will be part of JDK 18 and some potential subsequent steps.

Comments 
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

“JEP 421 and Finalization Deprecation”

“JEP 421 and Finalization Deprecation”

David Delabassee, Brent Christian