I believe you may be wrong with respect to soft references. A good JVM can do much better than a shot in the dark to decide which references to throw out, because a last-reference time is maintained as a part of the reference, permitting a LRU algorithm to be applied by the jvm when deciding which references to throw out. What your implementation does is another question, but it is there.
There are still limitations but LRU avoids the basic sort of pathological cases you describe here.
The JVMs wouldn't be so bad if it weren't for the little dirt details that the vast majority of them is used to run code written by Java developers in love with design patterns and completely detached from reality.
29:30 Good explanation of the problem with relying on fnalizers and garbage collection to release resources.
tohopes 10 months ago
To the commenter about LRU behavior....
This was with the stock Sun (Oracle) JVM.
Nothing in the SoftRef spec claims to maintain any sort of last-ref time, and I don't believe Oracles implementation maintains this info either.
cliffclick 10 months ago
The audio quality is a bit poor, actually hurt to listen to.
MultiParsley 10 months ago 4
I believe you may be wrong with respect to soft references. A good JVM can do much better than a shot in the dark to decide which references to throw out, because a last-reference time is maintained as a part of the reference, permitting a LRU algorithm to be applied by the jvm when deciding which references to throw out. What your implementation does is another question, but it is there.
There are still limitations but LRU avoids the basic sort of pathological cases you describe here.
occjjjusr 10 months ago
The JVMs wouldn't be so bad if it weren't for the little dirt details that the vast majority of them is used to run code written by Java developers in love with design patterns and completely detached from reality.
Just saying...
ChilapaOfTheAmazons 10 months ago
How do get information on this stuff?
berlinbrown03 10 months ago
When he says that bytecodes have shortcomeings, does he mean stack based bytecode or bytecode in general?
blenderpanzi 10 months ago
and standard java - sun(oracle) or ibm work's better.
bormarek 10 months ago
The guy that introduced him sounded like Tony Robbins lol.
steviesama 10 months ago
i know azul system from my last job. And i don't have such a enthusiastic approach. Many problem's with implementation. This is a very long story
bormarek 10 months ago
The content is fine, but this guy talks way too fast.
jnores 10 months ago
@jnores He talks just fine. You think too slow.
Pxtl1 10 months ago 3
drinking game: drink a shot every time he says jadajadajada...
fnyklr 10 months ago 17
@fnyklr
#01:56 #03:41 #09:25 #25:09 #50:47
isnt that bad - at least still not drunk
apart from that: its a very interesting talk
tremgaming 10 months ago 17
@tremgaming If you can take five shots in an hour and not be drunk, you might need to cut back a little.
amynstevestachurski 10 months ago
@tremgaming Here's an idea.
Drink a shot every time he says GC :D
Compgenius999 6 months ago
I understood nothing about this but I appreciate your knowledge nonetheless.
RyanChristianson 10 months ago
awesome thank you for the upload
rogerrhino 10 months ago
good talks
googlewen 10 months ago