Integrated: 8276571: C2: pass compilation options as structure
    Vladimir Kozlov 
    kvn at openjdk.java.net
       
    Fri Nov  5 16:11:18 UTC 2021
    
    
  
On Wed, 3 Nov 2021 18:49:47 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Currently we pass several compilation options as separate arguments to `Compile`: 
> 
> Compile C(env, target, entry_bci, subsume_loads, do_escape_analysis, eliminate_boxing, do_locks_coarsening, install_code, directive); 
> 
> Originally we had only `subsume_loads` option but we added few since then and we may add more. 
> 
> I suggest to add new `Options` class to pass these values into `Compile`.
This pull request has now been integrated.
Changeset: a74a839a
Author:    Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a74a839af02446d322d77c6e546e652ec6ad5d73
Stats:     76 lines in 4 files changed: 40 ins; 17 del; 19 mod
8276571: C2: pass compilation options as structure
Reviewed-by: shade, chagedorn
-------------
PR: https://git.openjdk.java.net/jdk/pull/6237
    
    
More information about the hotspot-dev
mailing list