https://github.com/openjdk/jdk/blob/1e031e6a5886fba3009d8e5fa62416fe15a901b6/src/hotspot/share/cds/heapShared.cpp#L826
void HeapShared::resolve_classes_for_subgraphs(ArchivableStaticFieldInfo fields[], JavaThread* THREAD)
The new convention is to rename THREAD to current, and also make it not the last parameter. This way the function won't be confused with one that takes a TRAPS parameter.
void HeapShared::resolve_classes_for_subgraphs(ArchivableStaticFieldInfo fields[], JavaThread* THREAD)
The new convention is to rename THREAD to current, and also make it not the last parameter. This way the function won't be confused with one that takes a TRAPS parameter.