From Java Code to Java Heap: Understanding the Memory Usage of Your Application

Oracle Learning
Oracle Learning
145.5 هزار بار بازدید - 12 سال پیش - When you write and run
When you write and run Java code, the JVM makes several allocations on your behalf, but do you have an understanding of how much that is? This session provides insight into the memory usage of Java code, covering the memory overhead of putting "int" into an integer object and the cost of object delegation and the memory efficiency of the different collection types. It also gives you an understanding of the off-Java (native) heap memory usage of some types of Java objects, such as threads and sockets. Most importantly, the session covers how to determine where there are inefficiencies in your application and how to choose the right collections to improve your Java code.
Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.
12 سال پیش در تاریخ 1391/11/17 منتشر شده است.
145,526 بـار بازدید شده
... بیشتر