heap

Full explanation of JVM – Runtime Data Area and How JVM using it

Reading Time: 3 minutes Runtime Data Areas are responsible to provide memory to store bytecode, objects, parameters, local variables, return values and intermediate results of computations. It’s a part of JVM. The JVM organises the memory it needs to execute program into serval runtime data areas. JVM totally contains five runtime areas Method Area Heap Area Java Stacks Area Program Counter Registers Area Native Methods Stacks area Method Area Continue Reading

How the new JVM works and its Architecture

Reading Time: 4 minutes Definition of Java Virtual Machine JVM is responsible to run Java bytecode by translating them into current OS machine language. Moreover, JVM provides runtime environment with an equally partitioned identical memory area for executing java Bytecode in any OS. The main reason behind the invention of JVM is to achieve platform independency, means JVM is invented for running java compiled code (bytecode) in all available Continue Reading

Box Pointers in Rust make recursive types possible

Reading Time: 3 minutes Overview A pointer is a general programming concept for a variable that contains an address in memory. In Rust, we have smart pointers in addition to normal pointers. Smart pointers are data structures that not only act as a pointer but also have additional metadata and capabilities. Box pointers are one of the smart pointers in Rust. Box Pointers Boxes allow you to store data on the heap Continue Reading