We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Optimizing Errors Away

Formale Metadaten

Titel
Optimizing Errors Away
Serientitel
Anzahl der Teile
611
Autor
Lizenz
CC-Namensnennung 2.0 Belgien:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache
Produktionsjahr2017

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
The HotSpot JIT compilers use a lot of sophisticated optimization techniquesto speed up your Java code. Sometimes, these advanced optimizations are soaggressive that they may eliminate required checks by mistake and thereforesuppress expected program errors. In this talk, I'll briefly introduce Escape Analysis and Intrinsics, twocommonly used HotSpot optimization techniques. I'll show how a combination ofthese two features can optimize away IndexOutOfBoundsExceptions in some cornercases where they are required by the standard and how I fixed this error inrecent versions of the OpenJDK.