src/os_cpu/aix_ppc/vm/threadLS_aix_ppc.cpp

Thu, 20 Mar 2014 11:03:06 +0100

author
goetz
date
Thu, 20 Mar 2014 11:03:06 +0100
changeset 6515
71a71b0bc844
parent 6465
666e6ce3976c
child 6876
710a3c8b516e
permissions
-rw-r--r--

8037915: PPC64/AIX: Several smaller fixes
Reviewed-by: kvn

simonis@6465 1 /*
simonis@6465 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
goetz@6515 3 * Copyright 2012, 2014 SAP AG. All rights reserved.
simonis@6465 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
simonis@6465 5 *
simonis@6465 6 * This code is free software; you can redistribute it and/or modify it
simonis@6465 7 * under the terms of the GNU General Public License version 2 only, as
simonis@6465 8 * published by the Free Software Foundation.
simonis@6465 9 *
simonis@6465 10 * This code is distributed in the hope that it will be useful, but WITHOUT
simonis@6465 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
simonis@6465 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
simonis@6465 13 * version 2 for more details (a copy is included in the LICENSE file that
simonis@6465 14 * accompanied this code).
simonis@6465 15 *
simonis@6465 16 * You should have received a copy of the GNU General Public License version
simonis@6465 17 * 2 along with this work; if not, write to the Free Software Foundation,
simonis@6465 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
simonis@6465 19 *
simonis@6465 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
simonis@6465 21 * or visit www.oracle.com if you need additional information or have any
simonis@6465 22 * questions.
simonis@6465 23 *
simonis@6465 24 */
simonis@6465 25
simonis@6465 26 #include "precompiled.hpp"
simonis@6465 27 #include "runtime/threadLocalStorage.hpp"
goetz@6515 28 #include "runtime/thread.hpp"
simonis@6465 29
simonis@6465 30 void ThreadLocalStorage::generate_code_for_get_thread() {
goetz@6515 31 // Nothing we can do here for user-level thread.
simonis@6465 32 }
simonis@6465 33
simonis@6465 34 void ThreadLocalStorage::pd_init() {
goetz@6515 35 // Nothing to do.
simonis@6465 36 }
simonis@6465 37
simonis@6465 38 void ThreadLocalStorage::pd_set_thread(Thread* thread) {
simonis@6465 39 os::thread_local_storage_at_put(ThreadLocalStorage::thread_index(), thread);
simonis@6465 40 }

mercurial