> On 12 Nov 2015, at 14:48, Vitaly Davidovich <vita...@gmail.com> wrote:
> 
> Hi Paul,
> 
> There is a very valid concern, since @Contended changes object layout and 
> increases object size, liberal use might tickle an overflow in HotSpot code. 
> Hence why it has remained internal so far.
> 
> What overflow? OOM of the heap? How is that a "very valid" concern? Why would 
> it be used liberally? Why are you allowing users to allocate any memory 
> whatsoever? Why not put a cap on the size of objects non-JDK code can 
> allocate? :) I mean seriously, with all due respect, the occasional "our 
> users are dumb and misinformed" sentiment is very off-putting.
> 

Where did i say that? You are incorrectly reading between the lines. The 
concern is actually smart and well informed users that may dliberately exploit 
a bug/weakness in the VM.

Paul.

> If you think there are, currently, *implementation* issues with how 
> @Contended is handled in the VM which cannot be addresses, I'll buy that.  
> But can we please stop with the dumbing down? :)
> 

Reply via email to