Asset Details
MbrlCatalogueTitleDetail
Do you wish to reserve the book?
Letters to the Editor
in
Goetz, Brian
/ Vervaet, Erwin
2001
Hey, we have placed the reservation for you!
By the way, why not check out events that you can attend while you pick your title.
You are currently in the queue to collect this book. You will be notified once it is your turn to collect the book.
Oops! Something went wrong.
Looks like we were not able to place the reservation. Kindly try again later.
Do you wish to request the book?
Letters to the Editor
in
Goetz, Brian
/ Vervaet, Erwin
2001
Please be aware that the book you have requested cannot be checked out. If you would like to checkout this book, you can reserve another copy
We have requested the book for you!
Your request is successful and it will be processed during the Library working hours. Please check the status of your request in My Requests.
Oops! Something went wrong.
Looks like we were not able to place your request. Kindly try again later.
Magazine Article
Letters to the Editor
2001
Request Book From Autostore
and Choose the Collection Method
Overview
I am a Java developer, but I never realized the subtleties that optimizations could cause. I enjoy a good test of my abilities and took the article as a challenge to find a solution. I am by no means an expert in the workings of microprocessors and optimizing compilers/ JITs. However, I have come up with a technique that I would like you to comment on. It involves creating a second instance variable to hold the reference to the singleton. The call to getHelper() still checks to see if the helper instance variable reference is null. If it is, instead of instantiating a new Helper object, it calls a second synchronized method, getSingleton(), that has its own null check. That method then instantiates a helper() method and sets the singleton reference to it; the singleton is then returned. Before A exits the synch block, data written to A's memory may not be moved to main memory, or it could be moved in an order different than the order in which it was written to A's memory. Also, some values may be written out slowly to main memory. But let's say that the reference to the new Resource is written out to main memory before the constructor finishes, which is certainly possible. If B goes to main memory to examine the reference, it may see the valid value of resource, but not the fields of resource (because it's still being constructed or those fields have not yet been written to main memory). That's bad; it sees a partially constructed Resource. Those are good questions. Clearly, there are differences between XPath and XPointer, as you mentioned. XPointer is built on top of XPath, but allows you to select areas of an XML document that a pure XPath could not address.
Publisher
Foundry
Subject
This website uses cookies to ensure you get the best experience on our website.