RFR: JDK-8266419: [aix] in mmap mode, os::attempt_reserve_memory_at() fails to handle wrong mapping address
    Martin Doerr 
    mdoerr at openjdk.java.net
       
    Wed May  5 10:23:50 UTC 2021
    
    
  
On Mon, 3 May 2021 06:36:15 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> On AIX, in mmap() mode, if the mmap call succeeds but not at the requested address, the mapping should be unmapped and the operation should count as error - like it is done on all other platforms.
> 
> (AFAICS this is a day zero bug in our port - mmap mode is seldomly used).
> 
> Tested: Nightlies at SAP with and without 4K pages.
Thanks for fixing. Looks good. Maybe the trace message should mention that we're unmapping it again?
-------------
Marked as reviewed by mdoerr (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3834
    
    
More information about the hotspot-runtime-dev
mailing list