8233078 : fix minimal VM build on Linux ppc64(le)
Baesken, Matthias
matthias.baesken at sap.com
Mon Nov 4 08:48:55 UTC 2019
Thanks for the reviews !
> One minor thing: do you really want to keep the old code (as comment) in
> sharedRuntime_ppc.cpp:2853?
I remove it .
Best regards, Matthias
> -----Original Message-----
> From: Schmidt, Lutz <lutz.schmidt at sap.com>
> Sent: Freitag, 1. November 2019 15:11
> To: Baesken, Matthias <matthias.baesken at sap.com>; Doerr, Martin
> <martin.doerr at sap.com>; 'hotspot-dev at openjdk.java.net' <hotspot-
> dev at openjdk.java.net>
> Cc: 'build-dev at openjdk.java.net' <build-dev at openjdk.java.net>
> Subject: Re: 8233078 : fix minimal VM build on Linux ppc64(le)
>
> Hi Matthias,
>
> your changes look good to me. Please note, however, that I'm not a
> Reviewer.
>
> One minor thing: do you really want to keep the old code (as comment) in
> sharedRuntime_ppc.cpp:2853?
>
> Thanks for putting this straight.
>
> Regards,
> Lutz
>
> On 29.10.19, 14:32, "hotspot-dev on behalf of Baesken, Matthias" <hotspot-
> dev-bounces at openjdk.java.net on behalf of matthias.baesken at sap.com>
> wrote:
>
> Thanks .
> May I have a second review please ?
>
> Best regards, Matthias
>
> From: Doerr, Martin <martin.doerr at sap.com>
> Sent: Dienstag, 29. Oktober 2019 13:48
> To: Baesken, Matthias <matthias.baesken at sap.com>; 'hotspot-
> dev at openjdk.java.net' <hotspot-dev at openjdk.java.net>
> Cc: 'build-dev at openjdk.java.net' <build-dev at openjdk.java.net>
> Subject: RE: RFR: 8233078 : fix minimal VM build on Linux ppc64(le)
>
> Hi Matthias,
>
> > Not sure if there are any plans to support OptimizeFill on ppc64 ?
> This question is not related to this issue.
> Commenting out parts of it is not a good style.
>
> Thank you for your update. The new webrev looks good to me.
>
> Best regards,
> Martin
>
>
> From: Baesken, Matthias
> <matthias.baesken at sap.com<mailto:matthias.baesken at sap.com>>
> Sent: Dienstag, 29. Oktober 2019 13:25
> To: Doerr, Martin
> <martin.doerr at sap.com<mailto:martin.doerr at sap.com>>; 'hotspot-
> dev at openjdk.java.net' <hotspot-dev at openjdk.java.net<mailto:hotspot-
> dev at openjdk.java.net>>
> Cc: 'build-dev at openjdk.java.net' <build-
> dev at openjdk.java.net<mailto:build-dev at openjdk.java.net>>
> Subject: RE: RFR: 8233078 : fix minimal VM build on Linux ppc64(le)
>
> Hi Martin, thanks for the input .
> I did the adjustments you suggested; new webrev :
>
> http://cr.openjdk.java.net/~mbaesken/webrevs/8233078.1/
>
> Regarding : stubGenerator_ppc.cpp: "Code should better be protected by
> #ifdef COMPILER2 than commenting out."
> Currently the if (OptimizeFill) { ... } coding is dead on ppc .
>
> See :
> c2_globals.hpp
> ------------------------
> 234 /* OptimizeFill not yet supported on PowerPC. */ \
> 235 product(bool, OptimizeFill, true PPC64_ONLY(&& false), \
>
> c2_init_ppc.cpp
> ------------------------
> 53 if (OptimizeFill) {
> 54 warning("OptimizeFill is not supported on this CPU.");
> 55 FLAG_SET_DEFAULT(OptimizeFill, false);
>
>
> Not sure if there are any plans to support OptimizeFill on ppc64 ?
>
> Best regards, Matthias
>
>
>
>
> Hi Matthias,
>
> thanks for fixing it. I have a few requests:
>
> disassembler_ppc.cpp:
> Please remove includes completely if no longer needed (instead of
> commenting out).
>
> sharedRuntime_ppc.cpp:
> I think it's better to remove the 2 align(InteriorEntryAlignment).
> Succeeding code is not performance critical.
>
> stubGenerator_ppc.cpp:
> Code should better be protected by #ifdef COMPILER2 than commenting
> out.
>
> Otherwise, looks good to me.
>
> Thanks,
> Martin
>
>
> From: Baesken, Matthias
> <matthias.baesken at sap.com<mailto:matthias.baesken at sap.com>>
> Sent: Dienstag, 29. Oktober 2019 12:42
> To: 'hotspot-dev at openjdk.java.net' <hotspot-
> dev at openjdk.java.net<mailto:hotspot-dev at openjdk.java.net>>
> Cc: 'build-dev at openjdk.java.net' <build-
> dev at openjdk.java.net<mailto:build-dev at openjdk.java.net>>; Doerr,
> Martin <martin.doerr at sap.com<mailto:martin.doerr at sap.com>>
> Subject: RFR: 8233078 : fix minimal VM build on Linux ppc64(le)
>
> Hello, please review the following fix .
> I recently experimented a bit with the minimal VM build on linux x86_64
> (--with-jvm-features=minimal --with-jvm-variants=minimal) .
> This worked fine .
>
> However when I tried the minimal vm build on linux ppc64 / ppc64le , I
> noticed that it fails because of a few wrong dependencies .
> Thanks to Martin for the advice regarding
>
> Register ic = as_Register(Matcher::inline_cache_reg_encode());
>
> Replacement with
>
>
> Register ic = R19_inline_cache_reg;
>
> In
> http://cr.openjdk.java.net/~mbaesken/webrevs/8233078.0/src/hotspot/cpu
> /ppc/sharedRuntime_ppc.cpp.frames.html
>
>
> Bug/webrev :
>
> https://bugs.openjdk.java.net/browse/JDK-8233078
> http://cr.openjdk.java.net/~mbaesken/webrevs/8233078.0/
>
>
> Thanks, Matthias
>
>
>
>
More information about the build-dev
mailing list