Forums Register Login

Book on Java Internals

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Thanks Ernest for your info
straws are for suckers. tiny ads are for attractive people.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1810 times.
Similar Threads
suggest me
free e-book on core AWT and eventqueue internals
plz help
C# books
Reference/Book for stuff like class loaders etc
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:38:46.