Hello, I have made a simple example to reproduce an issue with garbage collection.
In the example, accessing to the kotlin library and forcing gc (It happens also without forcing it) makes the app hang and use ~100% of cpu.
I don’t know if it could be a v8 issue. I would like some advice on how to solve it, because this is making my app unresponsive during undetermined time when a garbage collection happens.
Here is a link to the project, It should be visible using and emulator, and clearly a problem in a real device:
GitHub repository: https://github.com/hiperbou/testNSgc