HERE Technologies interview question

implementation of gc in java