Thread: Interview Question

Forum : New To Java   09-12-2017 07:18:49 PM
User Image
Ankit123

Newbie

Joined: Dec 8, 2017

Points: 100

Threads: 2

Posts: 13

Interview Question

| Quote Date : Dec 9, 2017    Views:416    

Why not store the Java classes in the heap along with the Java objects?

tags: java

Comments

User Image
Sriman

Newbie

Joined : Jul 15, 2016

Points : 480

Threads: 636

Posts: 153

Re: Interview Question

Reply Date : Dec 11, 2017

Usually the Class Objects don't participate the Garbage Collection Process. So those are being allocated in Metaspace/PermGen space.

Load More

No More Comments