Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class/instance methods represented in memory?

 
Val Pecaoco
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are class/instance methods represented or created in memory like class/instance variables, or just in the bytecode file (.class)?
Thanks.
Ex Animo Java!
-- Val
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Methods are stored in the method area. See JVMS 3.5.4 Method Area for more information.
 
Val Pecaoco
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Val (my namesake!)
Geez, do I still have to read the JVMS in addition to the JLS in preparation for the exam?!?!
Ex Animo Java!
-- Val
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No you don't need to
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic