提交 269fc5dc 编写于 作者: R rrich

8239005: [TESTBUG]...

8239005: [TESTBUG] test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java: exeinvoke.c: must initialize static state before calling do_overflow()
Reviewed-by: dholmes, clanger
上级 36d0d1d7
/*
* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020, 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
......@@ -163,6 +163,10 @@ void *run_native_overflow(void *p) {
(*env)->CallStaticVoidMethod (env, class_id, method_id, NULL);
// Initialize statics used in do_overflow
_kp_rec_count = 0;
_rec_count = 0;
set_signal_handler();
if (! setjmp(context)) {
do_overflow();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册