RFR(XS): 8153835: Fix range of flag MaxDirectMemorySize which is	parsed at jlong.
    Lindenmaier, Goetz 
    goetz.lindenmaier at sap.com
       
    Wed Apr 13 13:25:05 UTC 2016
    
    
  
Hi,
could someone please have a look at this tiny issue? And sponsor?
Thanks,
  Goetz.
> -----Original Message-----
> From: Lindenmaier, Goetz
> Sent: Freitag, 8. April 2016 10:53
> To: hotspot-runtime-dev at openjdk.java.net
> Subject: RFR(XS): 8153835: Fix range of flag MaxDirectMemorySize which is
> parsed at jlong.
> 
> Hi,
> 
> 
> 
> The upper limit of the range for flag MaxDirectMemorySize is MAX_SIZE_T.
> 
> The flag is used to set a property that is parsed into a long. Thus, the max
> 
> value on 64-bit platforms is too large.
> 
> Fix: Limit the range to max_jlong, too.
> 
> 
> 
> Please review this change. I please need a sponsor.
> 
> http://cr.openjdk.java.net/~goetz/wr16/8153835-MaxDMSz/webrev.01/
> 
> 
> 
> Best regards,
> 
>   Goetz.
> 
> 
> 
> 
    
    
More information about the hotspot-runtime-dev
mailing list