Re: A bit confused with SoftReference - when exactly is it collected?
- From: "Twisted" <twisted0n3@xxxxxxxxx>
- Date: 14 Nov 2006 13:11:55 -0800
Oliver Wong wrote:
"Twisted" <twisted0n3@xxxxxxxxx> wrote in message
news:1163532599.063974.35730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hrm -- that works. But it seems like a strange decision to make -- as
if they thought that server software is going to be perpetually in
development and never used except by java developers or something. :)
I think it's more along the lines of "People are making fun of Java
'cause you have to download a huge 300MB runtime just to run a 200KB applet.
What can we get rid of from the end-user's stuff to make it as small as
possible?"
I don't think the server VM is much bigger than the client VM. It's the
JDK that's much bigger than the JRE, but that's becaus
WHOA. SEVERE bug in Firefox just now! I was typing away (above) when a
download (that x64 file hidden at the bottom of the 1.6.0 page -- for
some reason it's at an oddball raw-IP instead of *.sun.com and fetched
at less than 1Mb/s -- are you sure it doesn't require 64-bit WinXP
Pro?) finished.
Fine, but it stole the focus, ate several keypresses, and nearly
destroyed this half-edited post in the process. For some reason,
something popped up, grabbed the focus, then disappeared. Then this tab
scrolled around a bit by itself and disappeared. Well, the form
disappeared. It was apparently trying to go to a different site.
Of course, the form contents would still be here if I returned from
there, because this is Firefox, not Internet Exploder. Except that it
seemed specifically to be going to gmail, and it seemed to be doing so
because it thought I'd clicked at least 3 times (rather than the actual
0, hands not having been anywhere remotely close to the mouse) on the
"back" button.
As I'm sure you're well aware, gmail exhibits broken behavior, at least
in Firefox, in that if you go "back" to it, the "forward" button greys
out. Somehow gmail hijacks your browser and compels it to dump its
forward history, perhaps to "punish" people who leave and then return
(why though??).
Of course, if that had happened, the contents of this form would have
been destroyed irrecoverable.
This makes the Firefox bug triggered by typing into a form while a
download is finishing a Class A Showstopper (severe, difficult to
guaranteeably avoid, no known workaround, capable of causing
catastropic loss of data without hope of recovery)!
I only recovered because I realized what the thing was trying to do in
time and hit the forward button several times rapidly before it had
loaded anything from gmail. If it had, gmail would have sent whatever
code it sends that destroys the browser's forward history almost
immediately. Thank Christ gmail's servers are so slow. I never thought
I'd be saying that. Jesus.
OK, now back to our regular programming. Where was I? Oh yes. I don't
think the server VM is much bigger than the client VM. It's the JDK
that's much bigger than the JRE, but that's because the JDK contains
all the development kit stuff, not because it contains a server VM.
.
- Follow-Ups:
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Oliver Wong
- Re: A bit confused with SoftReference - when exactly is it collected?
- References:
- A bit confused with SoftReference - when exactly is it collected?
- From: Thomas Kellerer
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Thomas Hawtin
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Thomas Kellerer
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Chris Uppal
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Twisted
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Mark Jeffcoat
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Twisted
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Mark Jeffcoat
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Twisted
- Re: A bit confused with SoftReference - when exactly is it collected?
- From: Oliver Wong
- A bit confused with SoftReference - when exactly is it collected?
- Prev by Date: Re: Why must and must not be "final" ?
- Next by Date: Re: Alternative to System.runFinalizersOnExit()?
- Previous by thread: Re: A bit confused with SoftReference - when exactly is it collected?
- Next by thread: Re: A bit confused with SoftReference - when exactly is it collected?
- Index(es):
Relevant Pages
|