8046715: Add a way to verify an extended set of command line options

Mon, 28 Jul 2014 20:47:56 +0200

author
jwilhelm
date
Mon, 28 Jul 2014 20:47:56 +0200
changeset 6951
99dbb9cd9521
parent 6950
6e1f418b39c3
child 6952
e2976043eac3

8046715: Add a way to verify an extended set of command line options
Summary: Added arguments_ext.cpp to make place for initialization of extended features
Reviewed-by: sla, mgronlun

src/share/vm/runtime/arguments.cpp file | annotate | diff | comparison | revisions
src/share/vm/runtime/arguments.hpp file | annotate | diff | comparison | revisions
src/share/vm/runtime/arguments_ext.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/runtime/arguments.cpp	Sun May 11 16:35:43 2014 -0700
     1.2 +++ b/src/share/vm/runtime/arguments.cpp	Mon Jul 28 20:47:56 2014 +0200
     1.3 @@ -2387,6 +2387,8 @@
     1.4      warning("The VM option CICompilerCountPerCPU overrides CICompilerCount.");
     1.5    }
     1.6  
     1.7 +  status &= check_vm_args_consistency_ext();
     1.8 +
     1.9    return status;
    1.10  }
    1.11  
     2.1 --- a/src/share/vm/runtime/arguments.hpp	Sun May 11 16:35:43 2014 -0700
     2.2 +++ b/src/share/vm/runtime/arguments.hpp	Mon Jul 28 20:47:56 2014 +0200
     2.3 @@ -461,6 +461,7 @@
     2.4    static void check_deprecated_gc_flags();
     2.5    // Check consistecy or otherwise of VM argument settings
     2.6    static bool check_vm_args_consistency();
     2.7 +  static bool check_vm_args_consistency_ext();
     2.8    // Check stack pages settings
     2.9    static bool check_stack_pages();
    2.10    // Used by os_solaris
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/src/share/vm/runtime/arguments_ext.cpp	Mon Jul 28 20:47:56 2014 +0200
     3.3 @@ -0,0 +1,30 @@
     3.4 +/*
     3.5 + * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     3.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3.7 + *
     3.8 + * This code is free software; you can redistribute it and/or modify it
     3.9 + * under the terms of the GNU General Public License version 2 only, as
    3.10 + * published by the Free Software Foundation.
    3.11 + *
    3.12 + * This code is distributed in the hope that it will be useful, but WITHOUT
    3.13 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    3.14 + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    3.15 + * version 2 for more details (a copy is included in the LICENSE file that
    3.16 + * accompanied this code).
    3.17 + *
    3.18 + * You should have received a copy of the GNU General Public License version
    3.19 + * 2 along with this work; if not, write to the Free Software Foundation,
    3.20 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    3.21 + *
    3.22 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    3.23 + * or visit www.oracle.com if you need additional information or have any
    3.24 + * questions.
    3.25 + *
    3.26 + */
    3.27 +
    3.28 +#include "precompiled.hpp"
    3.29 +#include "runtime/arguments.hpp"
    3.30 +
    3.31 +bool Arguments::check_vm_args_consistency_ext() {
    3.32 +  return true;
    3.33 +}

mercurial