• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Book on Java Internals

 
Vid Srini
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone suggest me a good book on Java Internals.

If my explanation is too lengthy,I apologise for that.

1)If I say Iam instanciating an Object
2)or using Collections,I need to know how these are exactly happening inside the JVM.

I need to know more elaborate on that.Can anyone suggest me a good book or link on this.

Regds,
Vidhya
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, there are many layers of internals. There's the bytecode your code compiles to; there's the JVM itself as an abstract virtual machine, and how it operates; and then there are the data structures of the actual JVM implementation. As far as I know, no books exist that talk about this third, innermost level for any JVM implementation. The knowledge wouldn't do you much good, anyway. But the second layer is well-documented, and that's what most people concern themselves with when learning about "Java internals." See, for example, the Java Virtual Machine Specification.

Now, that will teach about what instantiating an object means. But as to your second question about Collections: all the Collections classes are written in Java itself, and the source code comes with your JDK download (look for a file "src.zip" in your JDK installation directory). They're all very simple classes and can be read and understood by any intermediate level Java programmer. Give it a try.
 
Vid Srini
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ernest for your info
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic