my dog learned polymorphism
The moose likes Java in General and the fly likes Java Memmory management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Memmory management " Watch "Java Memmory management " New topic

Java Memmory management

ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

hi all ,

Please share links giving information on Java Memmory management ie how and where in memmory classes , statics and variables are stored and also some information on processor bound instructions in Java .
Rob Spoor

Joined: Oct 27, 2005
Posts: 20129

How about you ShowSomeEffort first? Have you searched a bit on Google? Have you read the Java Language Specification? Any other Oracle (previously Sun) documentation?

How To Ask Questions How To Answer Questions
ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

yes i have searched a lot and all i could get was information on memmory management using the garbage collector , however i would like to understand how the JVM behaves when a program starts and how does the program execution affect the CPU . What are processor bound instructions ?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14993

Here's a link: The Java Memory Model.

Search on Google for "Java memory model" and you'll find lots of other documents.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

Thanks .
I agree. Here's the link:
subject: Java Memmory management
It's not a secret anymore!