mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs
This commit is contained in:
parent
5287d9a366
commit
f2c21c058d
10 changed files with 47 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
|
||||
* 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
|
||||
|
@ -29,6 +29,11 @@
|
|||
|
||||
#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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue