Author Archives: Stanislav_Panteleev

JVM.Advanced.How does the JVM handle native method calls?

🔗 What is a Native Method? A native method is a method declared in Java, but implemented in a language like C or C++. These methods are usually marked with the native keyword, for example: ⚙️ How the JVM Handles … Continue reading →

Posted in Без рубрики | Comments Off on JVM.Advanced.How does the JVM handle native method calls?

JVM.Advanced.Specification

🔥 Love this question — it shows you’re thinking at system design level! 📜 1. What is the JVM Specification? The JVM Specification (or JVM Spec) is an official document maintained by Oracle. It defines: ✅ What the JVM must … Continue reading →

Posted in Без рубрики | Comments Off on JVM.Advanced.Specification

JVM.Advanced.What is the purpose of the Metaspace in JVM?

The Metaspace in the JVM (Java Virtual Machine) is a memory space that was introduced in Java 8, replacing the older PermGen space. Its primary purpose is to store class metadata, which includes information about class structures, methods, fields, annotations, … Continue reading →

Posted in Без рубрики | Comments Off on JVM.Advanced.What is the purpose of the Metaspace in JVM?

JVM.Internals.How does the JVM handle dynamic linking?

🌐 What is Dynamic Linking? In simple words: Dynamic linking means the JVM does not resolve all method calls, field accesses, and class references at compile time — instead, it resolves them at runtime, when the class is actually loaded.

Posted in Без рубрики | Comments Off on JVM.Internals.How does the JVM handle dynamic linking?

JVM.Internals.What is the role of the JVM instruction set in executing Java programs?

🔥 What is the JVM Instruction Set? The JVM instruction set is the complete set of low-level operations (called bytecode instructions) that the Java Virtual Machine understands and executes. When you write a Java program and compile it, your .java … Continue reading →

Posted in Без рубрики | Comments Off on JVM.Internals.What is the role of the JVM instruction set in executing Java programs?

Java.What are literals ?

🔥 What are Literals in Java? Definition Literals in Java are fixed, constant values that you write directly in your code. These are “hardcoded” values that represent themselves.

Posted in Без рубрики | Comments Off on Java.What are literals ?

JVM.Internals.What is symbolic link in bytecode ?

What is a Symbolic Link in Bytecode? In the context of Java bytecode (which I assume you’re asking about, since you’re into Java backend development), the term symbolic link can have different meanings depending on the context, but here’s the … Continue reading →

Posted in Без рубрики | Comments Off on JVM.Internals.What is symbolic link in bytecode ?

JVM.ConstantPool.How are constant pool entries stored and accessed by the JVM?

💾 What is the Constant Pool? The constant pool is a table stored inside every .class file. It contains a list of symbolic references used by the class — essentially, all the constants and symbolic metadata the class needs.

Posted in Без рубрики | Comments Off on JVM.ConstantPool.How are constant pool entries stored and accessed by the JVM?

JVM.Internals.What is the purpose of the Method Area in JVM memory?

📦 What is the Method Area? The Method Area is a part of the JVM Runtime Data Area, and its purpose is to store class-level data. This includes metadata about classes, methods, and fields. It is essentially where the JVM … Continue reading →

Posted in Без рубрики | Comments Off on JVM.Internals.What is the purpose of the Method Area in JVM memory?

JVM.Internals.How does the JVM handle exceptions internally?

💥 What Happens When an Exception is Thrown? When your code executes something like: The JVM does several things:

Posted in Без рубрики | Comments Off on JVM.Internals.How does the JVM handle exceptions internally?