[nbusers] Java function linking, and Image Referencing.

  • From: "Zachary1234" < >
  • To:
  • Subject: [nbusers] Java function linking, and Image Referencing.
  • Date: Fri, 27 Apr 2012 11:43:23 +0000

When one of the language classes is used, instantiated, referenced,
called etc., is absolutely all of the class loaded into memory?

Does the code for method calls which never end up being called in a program
really get loaded to memory at all, all does java optimise these extraneous
method calls away, such that the aren't really loaded into memory?

And by the way, I wish to have a situation where I have multiple duplicate
BufferedImages painted to the screen.  There is a draw out way
to create a fairly empty BufferedImage, and update it with a WritableRaster
later.  If I hand each new instantiated BufferedImage a raster reference, 
from a unique set of raster objects, will the BufferedImage 
private raster field (as indicated by java language source code) maintain the 
reference as I want, or will it copy the raster data across?  Is this the way 
to do such Image data referencing in java?






[nbusers] Java function linking, and Image Referencing.

Zachary1234 04/27/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close