Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions debugtools/DDR_VM/src/com/ibm/j9ddr/BytecodeGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,9 @@ private void doArrayMethod(FieldDescriptor field) {
case StructureTypeManager.TYPE_J9WSRP: // not implemented
break;
}

System.out.println("Structure: " + structure.getName());
System.out.println("Field: " + field.getName());
System.out.println("Component: " + componentType);
throw new IllegalArgumentException("Unrecognized array: " + fieldType);
}

Expand Down Expand Up @@ -2758,7 +2760,7 @@ private static int getCellSize(String type) {

static byte[] getClassBytes(StructureDescriptor structure, String className) {
StructureHelper helper = new StructureHelper(structure, className);

System.out.println("getClassBytes::className: " + className);
return helper.generate();
}

Expand Down
2 changes: 1 addition & 1 deletion debugtools/DDR_VM/src/com/ibm/j9ddr/StructureReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ public byte[] getPointerClassBytes(String binaryName) throws ClassNotFoundExcept
}

String fullClassName = getPackageName(PackageNameType.POINTER_PACKAGE_SLASH_NAME) + clazzName;

System.out.println("StructureReader::fullClassName: " + fullClassName);
return BytecodeGenerator.getPointerClassBytes(this, typeManager, structure, fullClassName);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ private void writeTo(StructureReader reader, File rootDir) {
for (StructureDescriptor structure : reader.getStructures()) {
String name = structure.getName();
byte[] bytes;
System.out.println("ClassGenerator::structure: " + name);

try {
if (FlagStructureList.isFlagsStructure(name)) {
Expand Down
4 changes: 4 additions & 0 deletions runtime/cmake/platform/toolcfg/openxl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ list(APPEND OMR_PLATFORM_COMPILE_OPTIONS

list(APPEND OMR_PLATFORM_CXX_COMPILE_OPTIONS -fno-rtti)

if(OMR_OS_ZOS)
list(APPEND OMR_PLATFORM_COMPILE_OPTIONS -g -gdwarf-5 -gsplit-dwarf)
endif()

# OMR_PLATFORM_CXX_COMPILE_OPTIONS get applied to JIT code (which needs exceptions),
# so we put these in the CMAKE_CXX_FLAGS instead.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fignore-exceptions")
2 changes: 1 addition & 1 deletion runtime/ddr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "XLClang")
if(CMAKE_C_COMPILER_VERSION AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "17.1"))
target_compile_options(j9ddr_misc PRIVATE -qdbxextra)
endif()
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang" OR OMR_TOOLCONFIG STREQUAL "openxl")
target_compile_options(j9ddr_misc PRIVATE -fno-eliminate-unused-debug-types)
elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU")
target_compile_options(j9ddr_misc PRIVATE -femit-class-debug-always)
Expand Down
1 change: 1 addition & 0 deletions runtime/ddr/gcddr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ GC_DdrDebugLink(MM_MemoryPoolSplitAddressOrderedList)
GC_DdrDebugLink(MM_RealtimeMarkingScheme)
GC_DdrDebugLink(MM_ScavengerForwardedHeader)
GC_DdrDebugLink(MM_StringTable)
GC_DdrDebugLink(MM_SublistPuddle)

#if defined(J9VM_GC_FINALIZATION)
GC_DdrDebugLink(GC_FinalizeListManager)
Expand Down