RFR (S): CR 8004318/JEP 171 Fences intrinsics

Kirk Pepperdine kirk at kodewerk.com
Wed Dec 5 08:17:19 PST 2012

Hi David,

This is sort of an off-topic list but I've been looking at GC implementations for quite some time. In March I tuned an application that was GC induced lock bound in a very interesting way. More recently I've been more interested in AdaptiveSizing as there are other metrics that need to be considered when deciding on how to resize. Right now we have to advise some clients to abandon adaptive sizing because it tends to undersize survivor spaces thus inducing far too frequent Full GCs. I'd happily contribute to a way to rid the need for @Contented but I fear that GC is consuming all of my time.


On 2012-12-05, at 5:07 PM, David Chase <david.r.chase at oracle.com> wrote:

> On 2012-12-05, at 10:50 AM, Kirk Pepperdine <kirk at kodewerk.com> wrote:
>> I will be giving a talk on concurrency at the Munich JUG in a few hours. We will talk about fences and I will show them how to do pointer manipulation in Java.. and how it can be used to implement wait-free, non-blocking algorithms.. I will show them how to get measurements to understand when their applications are fighting with the hardware... That said, I really wished that we had a better... safer way to achieve the same effect than exposing people to unsafe.
> If you have a pointer to the talk itself, or related materials, I would love to see it.  How much do you know about the crazy world of GC implementation?  GC surprises are the root cause of most of the Unsafe-induced bugs I've seen.
> David

More information about the hotspot-compiler-dev mailing list