Thu, 07 Sep 2017 09:17:43 -0400
8072428: Enable UseLoopCounter ergonomically if on-stack-replacement is enabled
Summary: Set UseLoopCounter ergonomically if on-stack-replacement is enabled. Print warning.
Reviewed-by: kvn
sla@7107 | 1 | /* |
sla@7107 | 2 | * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
sla@7107 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
sla@7107 | 4 | * |
sla@7107 | 5 | * This code is free software; you can redistribute it and/or modify it |
sla@7107 | 6 | * under the terms of the GNU General Public License version 2 only, as |
sla@7107 | 7 | * published by the Free Software Foundation. |
sla@7107 | 8 | * |
sla@7107 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
sla@7107 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
sla@7107 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
sla@7107 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
sla@7107 | 13 | * accompanied this code). |
sla@7107 | 14 | * |
sla@7107 | 15 | * You should have received a copy of the GNU General Public License version |
sla@7107 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
sla@7107 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
sla@7107 | 18 | * |
sla@7107 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
sla@7107 | 20 | * or visit www.oracle.com if you need additional information or have any |
sla@7107 | 21 | * questions. |
sla@7107 | 22 | * |
sla@7107 | 23 | */ |
sla@7107 | 24 | |
sla@7107 | 25 | #ifndef SHARE_VM_RUNTIME_THREAD_EXT_HPP |
sla@7107 | 26 | #define SHARE_VM_RUNTIME_THREAD_EXT_HPP |
sla@7107 | 27 | |
sla@7107 | 28 | #include "memory/allocation.hpp" |
sla@7107 | 29 | |
sla@7107 | 30 | class ThreadExt VALUE_OBJ_CLASS_SPEC { |
sla@7107 | 31 | public: |
sla@7107 | 32 | void print_on(outputStream* st) const {}; |
sla@7107 | 33 | }; |
sla@7107 | 34 | |
sla@7107 | 35 | #endif // SHARE_VM_RUNTIME_THREAD_EXT_HPP |