Seems unlikely, it's java so this is likely related to loading large amounts of objects and having the GC thrashing.
The hardened_malloc configuration used by GrapheneOS is very security-oriented including using a quarantine for freed slab allocations and it could provide a toggle to use a more performance-oriented configuration for an app instead of only being able to use the default allocator instead.