New CPU & OS Platform System Properties
Xerxes Rånby
xerxes at zafena.se
Thu Jan 10 07:26:14 PST 2013
2013-01-10 15:49, Dmitry Samersoff skrev:
> Bob,
>
> I think we are creating a property mess and still doesn't not cover all
> cases.
>
> So IMHO, it's better to create something like
>
> os.arch.platform_string
>
> and put there a string like
>
> x86_64-pc-linux-gnu or armv7-linux-gnueabi-vfp
>
> to solve immediate needs, then think about
> good API to query capabilities for JDK9
>
> -Dmitry
>
>
> On 2013-01-09 00:29, Bob Vandette wrote:
>> My team is in the process of proposing and implementing some System property changes for JDK8 to help
>> identify specific processor characteristics and operating system platforms that might be needed in the future.
>> The immediate need is for the detection of arm hard-float ABI but the other properties are being added in
>> case we need them while the window is open.
I share the view of Dmitry.
We had a chat in #OpenJDK about one year ago how to solve this issue without having to designing a new namespace:
http://icedtea.classpath.org/wiki/New_os.arch_namespace_Architecture
I like the idea to re-use the existing namespace provided by the c/c++ compilers target name:
By using the compilers target name helps developers who cross compile jni code to select the right compiler for each platform they want to support.
Cheers
Xerxes
More information about the porters-dev
mailing list