Skip to content

Commit 1466e1e

Browse files
committed
debug
Signed-off-by: Tobi Ajila <[email protected]>
1 parent cf0437b commit 1466e1e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

runtime/cmake/platform/toolcfg/gnu.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0
2121
################################################################################
2222

23-
list(APPEND OMR_PLATFORM_COMPILE_OPTIONS -O3 -g -fstack-protector)
23+
list(APPEND OMR_PLATFORM_COMPILE_OPTIONS -O0 -g3 -fstack-protector)
2424
if(OMR_DDR AND NOT (CMAKE_C_COMPILER_VERSION VERSION_LESS 11))
2525
# In gcc 11+ the default is to use DWARF version 5 which is not yet
2626
# supported by ddrgen: tell the compiler to use DWARF version 4.

runtime/include/ffi_cfi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#ifndef FFI_CFI_H
88
#define FFI_CFI_H
99

10+
#undef HAVE_AS_CFI_PSEUDO_OP
11+
1012
#ifdef HAVE_AS_CFI_PSEUDO_OP
1113

1214
# define cfi_startproc .cfi_startproc

runtime/jcl/common/java_lang_Access.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Java_java_lang_Access_getConstantPool(JNIEnv *env, jclass unusedClass, jobject c
8787
#else /* JAVA_SPEC_VERSION == 8 */
8888
J9VMJDKINTERNALREFLECTCONSTANTPOOL_SET_CONSTANTPOOLOOP(vmThread, J9_JNI_UNWRAP_REFERENCE(constantPool), J9_JNI_UNWRAP_REFERENCE(classToIntrospect));
8989
#endif /* JAVA_SPEC_VERSION == 8 */
90+
VM_AtomicSupport::writeBarrier();
9091

9192
if (NULL == clazz) {
9293
/* If we are here then classToIntrospect is an InternalConstantPool object, find the class object. */

0 commit comments

Comments
 (0)