javacommons/utils/src/debugutils.cpp
branchRCL_3
changeset 19 04becd199f91
child 67 63b81d807542
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "logger.h"
       
    20 #include "javacommonutils.h"
       
    21 #include "threaddumper.h"
       
    22 
       
    23 
       
    24 #include "com_nokia_mj_impl_utils_DebugUtils.h"
       
    25 
       
    26 using namespace java::util;
       
    27 
       
    28 
       
    29 JNIEXPORT void JNICALL Java_com_nokia_mj_impl_utils_DebugUtils__1doThreadDump
       
    30 (JNIEnv* /*aEnv*/, jclass)
       
    31 {
       
    32     ThreadDump::doDump();
       
    33 }
       
    34 
       
    35 
       
    36 JNIEXPORT void JNICALL Java_com_nokia_mj_impl_utils_DebugUtils__1closeThreadDumper
       
    37 (JNIEnv* /*aEnv*/, jclass)
       
    38 {
       
    39     ThreadDump::closeDumper();
       
    40 }
       
    41