summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java
diff options
context:
space:
mode:
authorzhaozhou <zhaozhou@loongson.cn>2025-11-10 15:38:26 +0800
committerLulu Cheng <chenglulu@loongson.cn>2025-11-14 09:15:16 +0800
commitf77f4797010736d9fea7b313b52267d643ebcff7 (patch)
tree427e26b69f87c1662747772d2f6ea51b7ad8bdce /libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java
parent890dff609d49934d3a4041acfb8ae626bc8a0624 (diff)
LoongArch: Fix issue where data marked as GTY is cleaned up by ggc.
As for GGC(GCC Garbage Collection), it's use gengtype tool to scan all source files contain the GTY mark, and generate gt-*.h files. GGC traversal these file to find gt_root node and marks these objects that directly or indirectly reference this node as active, then clean up unmarked object's memory. For the loongarch-builtins.cc file, it is necessary to add target_gtfiles in config.gcc to generate gt-loongarch-builtins.h, and include this header file in the .cc file, prevented the data marked with GTY in this `.cc` file cleaned up by ggc. gcc/ChangeLog: * config.gcc: Add target_gtfiles. * config/loongarch/loongarch-builtins.cc: Add header file.
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java')
0 files changed, 0 insertions, 0 deletions