- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is Java Method Area?
JVM has a method area common across all the threads. It contains per-class elements like constant pool, fields, method local data, method code, constructor codes etc. which are used in class and initialization of objects/interfaces.
This method area gets created during JVM start-up. It is generally part of Heap area. It could be of fixed size or vary. Its memory may not be contiguous. JVM implementation can give control to programmer over Method area creation, its sizing etc. If method area memory is not sufficient to satisfy an allocation request then JVM throws OutOfMemoryError.
- Related Articles
- What is method overloading in Java?
- What is the difference between java method and native method?
- What is difference between a Java method and native method
- What is a final method in Java?
- What is a method signature in Java?
- What is the append method in Java?
- What is the IntStream.Builder accept() method in Java
- What is the difference between a Java method and a native method?
- What is the difference between method hiding and method overriding in Java?
- What is the difference between method overloading and method hiding in Java?
- What is the difference between method overloading and method overriding in Java?
- What is the use of setBounds() method in Java?
- What is the use of Thread.sleep() method in Java?
- What is the purpose of toString() method? Or What does the toString() method do in java?
- What is default, defender or extension method of Java 8?

Advertisements