equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
165 AgentLibrary(const char* name, const char* options, bool is_absolute_path, |
165 AgentLibrary(const char* name, const char* options, bool is_absolute_path, |
166 void* os_lib, bool instrument_lib=false); |
166 void* os_lib, bool instrument_lib=false); |
167 }; |
167 }; |
168 |
168 |
169 // maintain an order of entry list of AgentLibrary |
169 // maintain an order of entry list of AgentLibrary |
170 class AgentLibraryList VALUE_OBJ_CLASS_SPEC { |
170 class AgentLibraryList { |
171 private: |
171 private: |
172 AgentLibrary* _first; |
172 AgentLibrary* _first; |
173 AgentLibrary* _last; |
173 AgentLibrary* _last; |
174 public: |
174 public: |
175 bool is_empty() const { return _first == NULL; } |
175 bool is_empty() const { return _first == NULL; } |
537 // Apply ergonomics |
537 // Apply ergonomics |
538 static jint apply_ergo(); |
538 static jint apply_ergo(); |
539 // Adjusts the arguments after the OS have adjusted the arguments |
539 // Adjusts the arguments after the OS have adjusted the arguments |
540 static jint adjust_after_os(); |
540 static jint adjust_after_os(); |
541 |
541 |
542 static void set_gc_specific_flags(); |
|
543 #if INCLUDE_JVMCI |
542 #if INCLUDE_JVMCI |
544 // Check consistency of jvmci vm argument settings. |
543 // Check consistency of jvmci vm argument settings. |
545 static bool check_jvmci_args_consistency(); |
544 static bool check_jvmci_args_consistency(); |
546 static void set_jvmci_specific_flags(); |
545 static void set_jvmci_specific_flags(); |
547 #endif |
546 #endif |