Merge "Move jvmti allocation functions to own file."