If the java -client -Xinternalversion string exceeds 256, running java -client -Xshare:dump will fail:
>>>> VM option 'SharedReadOnlySize=10M'
>>>> Rewriting and unlinking classes ... done.
>>>> Calculating hash values for String objects .. done.
>>>> Calculating fingerprints ... done.
>>>> Removing unshareable information ... done.
>>>> Moving pre-ordered read-only objects to shared space at 0x3c010000 ... done.
>>>> Moving read-only objects to shared space at 0x3c5285e0 ... done.
>>>> Moving common symbols to shared space at 0x3c52a638 ... done.
>>>> Moving remaining symbols to shared space at 0x3c5e3248 ... done.
>>>> Moving string char arrays to shared space at 0x3c5e44a8 ... done.
>>>> Moving additional symbols to shared space at 0x3c666118 ... done.
>>>> Read-only space ends at 0x3c6f9ef0, 7249648 bytes.
>>>> Moving pre-ordered read-write objects to shared space at 0x3ca10000 ... done.
>>>> Moving read-write objects to shared space at 0x3d039110 ... done.
>>>> Moving String objects to shared space at 0x3d0711e0 ... done.
>>>> Read-write space ends at 0x3d0ae668, 6940264 bytes.
>>>> Updating references to shared objects ... done.
>>>>
>>>> Error occurred during initialization of VM
>>>> Unable to use shared archive.
>>>> ",stderr="An error has occurred while processing the shared archivefile.
>>>> JVM Ident field for shared archive is too long - truncated to
>>>> <????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??!
>>>> ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????j>
I would like to see this 256 limit removed, increased, or truncate the version string silently. But please don't fail like this.
|