Fri, 05 Apr 2013 11:15:13 -0700
8006001: [parfait] Possible file leak in hotspot/src/os/linux/vm/perfMemory_linux.cpp
Reviewed-by: zgu, coleenp, hseigel, dholmes
kamg@551 | 1 | /* |
stefank@2314 | 2 | * Copyright (c) 1997, 2010, Oracle and/or its affiliates. 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 | * |
trims@1907 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
trims@1907 | 20 | * or visit www.oracle.com if you need additional information or have any |
trims@1907 | 21 | * questions. |
kamg@551 | 22 | * |
kamg@551 | 23 | */ |
kamg@551 | 24 | |
stefank@2314 | 25 | #include "precompiled.hpp" |
stefank@2314 | 26 | #include "classfile/javaClasses.hpp" |
stefank@2314 | 27 | #include "code/codeBlob.hpp" |
stefank@2314 | 28 | #include "memory/allocation.hpp" |
stefank@2314 | 29 | #include "prims/jvm.h" |
stefank@2314 | 30 | #include "runtime/dtraceJSDT.hpp" |
stefank@2314 | 31 | #include "runtime/jniHandles.hpp" |
stefank@2314 | 32 | #include "runtime/os.hpp" |
stefank@2314 | 33 | #include "runtime/signature.hpp" |
stefank@2314 | 34 | #include "utilities/globalDefinitions.hpp" |
kamg@551 | 35 | |
kamg@551 | 36 | int DTraceJSDT::pd_activate( |
kamg@551 | 37 | void* baseAddress, jstring module, |
kamg@551 | 38 | jint providers_count, JVM_DTraceProvider* providers) { |
kamg@551 | 39 | return -1; |
kamg@551 | 40 | } |
kamg@551 | 41 | |
kamg@551 | 42 | void DTraceJSDT::pd_dispose(int handle) { |
kamg@551 | 43 | } |
kamg@551 | 44 | |
kamg@551 | 45 | jboolean DTraceJSDT::pd_is_supported() { |
kamg@551 | 46 | return false; |
kamg@551 | 47 | } |