Proposal: JDK-8231640 - (prop) Canonical property storage
Alan Bateman
Alan.Bateman at oracle.com
Wed Aug 25 11:03:02 UTC 2021
On 25/08/2021 11:51, Jaikiran Pai wrote:
> :
>
> 1. jdk.internal.vm.VMSupport#serializePropertiesToByteArray - Looking
> at the implementation in this method and as the name suggests, the
> Properties is being written out a byte array. This method gets called
> from native code, from what I can see. I'll need a bit of help on this
> one to understand whether that usage in the native code would benefit
> from switching to the new API (when it is introduced) for
> reproducibility when it comes to this call in
> VMSupport#serializePropertiesToByteArray.
This is the VM side of the attach mechanism. The API to look at is
com.sun.tools.attach.VirtualMachine::getSystemProperties. When this
method is invoked (by a tool) then response is a byte stream of the
property list (8859-1 encoded). I wouldn't expect you should need to
touch this one.
-Alan
More information about the core-libs-dev
mailing list