1.8 Heap PSYoungGen total 1024K, used 17K [...) eden space 512K, 3% used [...) from space 512K, 0% used [...) to space 512K, 0% used [...) ParOldGen total 512K, used 401K [...) object space 512K, 78% used [...) Metaspace used 2728K, capacity 4486K, committed 4864K, reserved 1056768K classspace used 291K, capacity 386K, committed 512K, reserved 1048576K
1.7 Heap PSYoungGen total 2048K, used 22K [...) eden space 1024K, 2% used [...) from space 1024K, 0% used [...) to space 1024K, 0% used [...) ParOldGen total 4096K, used 267K [...) object space 4096K, 6% used [...) PSPermGen total 21504K, used 2652K [...) object space 21504K, 12% used [...)
1.6 Heap par newgeneration total 1152K, used 41K [...) eden space 1024K, 4% used [...) from space 128K, 0% used [...) to space 128K, 0% used [...) concurrent mark-sweep generation total 5312K, used 279K [...) concurrent-mark-sweep perm gen total 83968K, used 4693K [...)
/* fastpath if the regex is a (1)one-char String and this character is not one of the RegEx's meta characters ".$|()[{^?*+\\", or (2)two-char String and the first char is the backslash and the second is not the ascii digit or ascii letter. */ if (((regex.value.length == 1 && ".$|()[{^?*+\\".indexOf(ch = regex.charAt(0)) == -1) || (regex.length() == 2 && regex.charAt(0) == '\\' && (((ch = regex.charAt(1))-'0')|('9'-ch)) < 0 && ((ch-'a')|('z'-ch)) < 0 && ((ch-'A')|('Z'-ch)) < 0)) && (ch < Character.MIN_HIGH_SURROGATE || ch > Character.MAX_LOW_SURROGATE)) {