|
Towards null safety benchmarks for object initialization
A. V. Kogtenkov Podolsk, Russia
Abstract:
Null pointer dereferencing remains one of the major issues in modern object-oriented languages. An obvious addition of keywords to distinguish between never null and possibly null references appears to be insufficient during object initialization when some fields declared as never null may be temporary null before the initialization completes. This work identifies the key reasons of the object initialization problem. It suggests scenarios and metrics to be used as the benchmarks to compare solutions of this problem. Finally, it demonstrates application of the benchmarks on the proposed solution for object initialization in Eiffel.
The article is published in the author’s wording.
Keywords:
null pointer dereferencing, null safety, void safety, object initialization, static analysis, null safety benchmarks.
Received: 11.09.2017
Citation:
A. V. Kogtenkov, “Towards null safety benchmarks for object initialization”, Model. Anal. Inform. Sist., 24:6 (2017), 718–729
Linking options:
https://www.mathnet.ru/eng/mais595 https://www.mathnet.ru/eng/mais/v24/i6/p718
|
|