< prev index next >

src/java.base/share/native/libjava/Shutdown.c

Updates after review: remove status argument completely from beforeHalt

8041626: Shutdown tracing event

*** 1,7 **** /* ! * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this ***************
*** 27,36 **** --- 27,41 ---- #include "jni_util.h" #include "jvm.h" #include "java_lang_Shutdown.h" + JNIEXPORT void JNICALL + Java_java_lang_Shutdown_beforeHalt(JNIEnv *env, jclass ignored) + { + JVM_BeforeHalt(); + } JNIEXPORT void JNICALL Java_java_lang_Shutdown_halt0(JNIEnv *env, jclass ignored, jint code) { JVM_Halt(code);
< prev index next >