src/hotspot/share/interpreter/bytecodeInterpreterProfiling.hpp
author coleenp
Thu, 10 Jan 2019 15:13:51 -0500
changeset 53244 9807daeb47c4
parent 50322 c75f3cdeb48c
permissions -rw-r--r--
8216167: Update include guards to reflect correct directories Summary: Use script and some manual fixup to fix directores names in include guards. Reviewed-by: lfoltan, eosterlund, kbarrett
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22836
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
     1
/*
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50322
diff changeset
     2
 * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
35594
cc13089c6327 8147937: Adapt SAP copyrights to new company name.
goetz
parents: 25374
diff changeset
     3
 * Copyright (c) 2012, 2014 SAP SE. All rights reserved.
22836
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
     4
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
     5
 *
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
     6
 * This code is free software; you can redistribute it and/or modify it
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
     7
 * under the terms of the GNU General Public License version 2 only, as
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
     8
 * published by the Free Software Foundation.
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
     9
 *
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    10
 * This code is distributed in the hope that it will be useful, but WITHOUT
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    11
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    12
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    13
 * version 2 for more details (a copy is included in the LICENSE file that
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    14
 * accompanied this code).
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    15
 *
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    16
 * You should have received a copy of the GNU General Public License version
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    17
 * 2 along with this work; if not, write to the Free Software Foundation,
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    18
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    19
 *
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    20
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    21
 * or visit www.oracle.com if you need additional information or have any
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    22
 * questions.
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    23
 *
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    24
 */
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    25
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    26
// This file defines a set of macros which are used by the c++-interpreter
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    27
// for updating a method's methodData object.
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    28
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    29
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50322
diff changeset
    30
#ifndef SHARE_INTERPRETER_BYTECODEINTERPRETERPROFILING_HPP
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50322
diff changeset
    31
#define SHARE_INTERPRETER_BYTECODEINTERPRETERPROFILING_HPP
22836
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    32
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    33
#ifdef CC_INTERP
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    34
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    35
// Empty dummy implementations if profiling code is switched off. //////////////
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    36
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    37
#define SET_MDX(mdx)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    38
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    39
#define BI_PROFILE_GET_OR_CREATE_METHOD_DATA(exception_handler)                \
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    40
  if (ProfileInterpreter) {                                                    \
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    41
    ShouldNotReachHere();                                                      \
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    42
  }
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    43
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    44
#define BI_PROFILE_ALIGN_TO_CURRENT_BCI()
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    45
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    46
#define BI_PROFILE_UPDATE_JUMP()
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    47
#define BI_PROFILE_UPDATE_BRANCH(is_taken)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    48
#define BI_PROFILE_UPDATE_RET(bci)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    49
#define BI_PROFILE_SUBTYPECHECK_FAILED(receiver)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    50
#define BI_PROFILE_UPDATE_CHECKCAST(null_seen, receiver)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    51
#define BI_PROFILE_UPDATE_INSTANCEOF(null_seen, receiver)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    52
#define BI_PROFILE_UPDATE_CALL()
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    53
#define BI_PROFILE_UPDATE_FINALCALL()
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    54
#define BI_PROFILE_UPDATE_VIRTUALCALL(receiver)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    55
#define BI_PROFILE_UPDATE_SWITCH(switch_index)
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    56
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    57
#endif // CC_INTERP
e7e511228518 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
diff changeset
    58
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50322
diff changeset
    59
#endif // SHARE_INTERPRETER_BYTECODEINTERPRETERPROFILING_HPP