readAsJavaString

If this HeapInstance is an instance of the String class, returns a String instance with content that matches the string in the heap dump. Otherwise returns null.

This may trigger IO reads.