Skip to Content
Java 9 High Performance
book

Java 9 High Performance

by Mayur Ramgir, Nick Samoylov
November 2017
Intermediate to advanced
398 pages
10h 14m
English
Packt Publishing
Content preview from Java 9 High Performance

Space reduction

Since this method requires the counting of references, this count also needs to be efficiently stored. One way of reducing this count is to not use a separate memory for this purpose, but to rather employ the free system memory through the use of memory pointers that point towards empty spaces.

A tagged pointer is excellent since it is usually available in different programming languages. The reference count may only require 32 bits of storage, but the pointer can mean the use of even smaller space already available to the program.

Any reliable pointer available to objects can be used to store the reference count. In fact, additional pointer space can also be employed for storing the count and eliminate the need for extra ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Distributed Computing in Java 9

Distributed Computing in Java 9

Raja Malleswara Rao Malleswara Rao Pattamsetti
Mastering Java 11 - Second Edition

Mastering Java 11 - Second Edition

Dr. Edward Lavieri Jr., Mandar Jog
Java EE 8 High Performance

Java EE 8 High Performance

Romain Manni-Bucau
Clojure: High Performance JVM Programming

Clojure: High Performance JVM Programming

Eduardo Díaz, Shantanu Kumar, Akhil Wali

Publisher Resources

ISBN: 9781787120785Supplemental Content