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

GC argument setting needs to be cleaned up

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • 5.0
    • hotspot
    • gc
    • generic
    • generic

      In Arguments::parse (arguments.cpp) there are multiple call-outs to routines
      which set up GC-related flags: set_adaptive_size_policy_flags(),
      set_cms_and_parnew_gc_flags(), and set_ergonomics_flags(). These calls are in
      the wrong place; check_vm_args_consistency(), called from within
      parse_vm_init_args (which is called before any of these GC-related routines),
      should be the last operation that mutates and validates the argument list.
      Presumably these routines should be called at the end of parse_vm_init_args().

            Unassigned Unassigned
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: