RFR: 8280761: UseCompressedOops should be set after limit_heap_by_allocatable_memory [v4]
    KIRIYAMA Takuya 
    duke at openjdk.java.net
       
    Wed Apr 13 08:38:59 UTC 2022
    
    
  
On Tue, 12 Apr 2022 06:50:32 GMT, KIRIYAMA Takuya <duke at openjdk.java.net> wrote:
>> I fixed to set UseCompressedOops flag after limit_heap_by_allocatable_memory(). 
>> So when ulimit -v is called and -XX:MaxRAM is set, UseCompressedOops does not become false. 
>> And all hotspot tier1 test are passed.
>> Would you please review this fix?
>
> KIRIYAMA Takuya has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8280761 UseCompressedOops should be set after limit_heap_by_allocatable_memory
> Slight rewording, // Setting MaxRAMPercentage explicitly to make the test more resilient.
Thank you, I fixed this comment.
> Embedding ulimit -v inside checkFlag still hinders readability, IMO.
Sounds good.  I fixed this tests as you advised.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7938
    
    
More information about the hotspot-gc-dev
mailing list