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: 36

Posts: 33

Interview Question

| Quote Date : Dec 9, 2017    Views:567    

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

tags: java

Comments

User Image
Sriman

Member

Joined : Jul 15, 2016

Points : 570

Threads: 642

Posts: 184

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