Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8276571

C2: pass compilation options as structure

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • b23

      Currently we pass several compilation options as separate arguments:

      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 more later and we may add more.

      I suggest to add new `Options` class to pass these values into `Compile`.

            kvn Vladimir Kozlov
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: