5.2 gc compat API

Signed-off-by: katlogic <katlogic@katsystems.eu>