Fri, 08 May 2009 15:20:10 -0700
6838842: NUMA allocator: Segfault during startup on Linux
Summary: Restored os::free_memory() semantics
Reviewed-by: apetrusenko
kamg@551 | 1 | /* |
xdono@631 | 2 | * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. |
kamg@551 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
kamg@551 | 4 | * |
kamg@551 | 5 | * This code is free software; you can redistribute it and/or modify it |
kamg@551 | 6 | * under the terms of the GNU General Public License version 2 only, as |
kamg@551 | 7 | * published by the Free Software Foundation. |
kamg@551 | 8 | * |
kamg@551 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
kamg@551 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
kamg@551 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
kamg@551 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
kamg@551 | 13 | * accompanied this code). |
kamg@551 | 14 | * |
kamg@551 | 15 | * You should have received a copy of the GNU General Public License version |
kamg@551 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
kamg@551 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
kamg@551 | 18 | * |
kamg@551 | 19 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
kamg@551 | 20 | * CA 95054 USA or visit www.sun.com if you need additional information or |
kamg@551 | 21 | * have any questions. |
kamg@551 | 22 | * |
kamg@551 | 23 | */ |
kamg@551 | 24 | |
kamg@551 | 25 | #include "incls/_precompiled.incl" |
kamg@551 | 26 | #include "incls/_dtraceJSDT_linux.cpp.incl" |
kamg@551 | 27 | |
kamg@551 | 28 | int DTraceJSDT::pd_activate( |
kamg@551 | 29 | void* baseAddress, jstring module, |
kamg@551 | 30 | jint providers_count, JVM_DTraceProvider* providers) { |
kamg@551 | 31 | return -1; |
kamg@551 | 32 | } |
kamg@551 | 33 | |
kamg@551 | 34 | void DTraceJSDT::pd_dispose(int handle) { |
kamg@551 | 35 | } |
kamg@551 | 36 | |
kamg@551 | 37 | jboolean DTraceJSDT::pd_is_supported() { |
kamg@551 | 38 | return false; |
kamg@551 | 39 | } |