src/hotspot/os_cpu/linux_s390/thread_linux_s390.hpp
author coleenp
Thu, 10 Jan 2019 15:13:51 -0500
changeset 53244 9807daeb47c4
parent 50160 dc18db671651
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:
42065
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     1
/*
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50160
diff changeset
     2
 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
42065
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     3
 * Copyright (c) 2016 SAP SE. All rights reserved.
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     4
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     5
 *
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     6
 * This code is free software; you can redistribute it and/or modify it
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     7
 * under the terms of the GNU General Public License version 2 only, as
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     8
 * published by the Free Software Foundation.
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
     9
 *
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    10
 * This code is distributed in the hope that it will be useful, but WITHOUT
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    11
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    12
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    13
 * version 2 for more details (a copy is included in the LICENSE file that
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    14
 * accompanied this code).
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    15
 *
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    16
 * You should have received a copy of the GNU General Public License version
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    17
 * 2 along with this work; if not, write to the Free Software Foundation,
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    18
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    19
 *
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    20
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    21
 * or visit www.oracle.com if you need additional information or have any
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    22
 * questions.
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    23
 *
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    24
 */
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    25
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50160
diff changeset
    26
#ifndef OS_CPU_LINUX_S390_THREAD_LINUX_S390_HPP
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50160
diff changeset
    27
#define OS_CPU_LINUX_S390_THREAD_LINUX_S390_HPP
42065
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    28
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    29
 private:
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    30
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    31
  void pd_initialize() {
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    32
    _anchor.clear();
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    33
  }
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    34
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    35
  // The `last' frame is the youngest Java frame on the thread's stack.
49480
d7df2dd501ce 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
coleenp
parents: 47216
diff changeset
    36
  frame pd_last_frame();
42065
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    37
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    38
 public:
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    39
  void set_base_of_stack_pointer(intptr_t* base_sp) {}
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    40
  intptr_t* base_of_stack_pointer() { return NULL; }
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    41
  void record_base_of_stack_pointer() {}
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    42
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    43
  // These routines are only used on cpu architectures that
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    44
  // have separate register stacks (Itanium).
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    45
  static bool register_stack_overflow() { return false; }
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    46
  static void enable_register_stack_guard() {}
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    47
  static void disable_register_stack_guard() {}
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    48
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    49
  bool pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava);
6032b31e3719 8167673: [s390] The s390 port.
goetz
parents:
diff changeset
    50
50160
dc18db671651 8203288: PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)
mdoerr
parents: 49480
diff changeset
    51
  bool pd_get_top_frame_for_profiling(frame* fr_addr, void* ucontext, bool isInJava);
dc18db671651 8203288: PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)
mdoerr
parents: 49480
diff changeset
    52
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 50160
diff changeset
    53
#endif // OS_CPU_LINUX_S390_THREAD_LINUX_S390_HPP