RFR(XS): 8132287: obsolete the "InlineNotify" flag option
Daniel D. Daugherty
daniel.daugherty at oracle.com
Thu May 10 19:19:39 UTC 2018
On 5/10/18 3:15 PM, dean.long at oracle.com wrote:
> Hi Dan,
>
> On 5/10/18 11:52 AM, Daniel D. Daugherty wrote:
>> Hi Dean!
>>
>> Thanks for reviewing.
>>
>> This is a flag that is default true and I'm not aware of anyone outside
>> of me or Dave Dice that uses it. The flag is not removed (yet), it is
>> simply ignored (with a warning) so what will break in Graal in this
>> situation?
>>
>
> Where is it set to true? It looks like it is being removed from
> globals.hpp.
I should have been more clear. The flag was default true and, as far as
I knew, only Dave Dice and I used it. Now it has been obsoleted and is
ignored when specified on the command line.
The flag itself no longer exists (which is what is making those AOT
tests unhappy in my reply a few minutes ago).
>
>> I believe the normal Graal protocol is to make changes upstream and they
>> land in jdk/jdk when Vladimir does a sync-down. Not knowing Graal at
>> all,
>> I have no idea if Graal knows about '-XX:SyncKnobs' or even if it
>> should...
>>
>
> To prevent breakage we can push the change to jdk/jdk first. Let me
> test your change out with Graal and get back to you.
I can include the Graal fix in my push if that works for you...
Dan
>
> dl
>
>> Dan
>>
>>
>> On 5/10/18 2:44 PM, dean.long at oracle.com wrote:
>>> I believe we'll need a fix for Graal so it doesn't break.
>>>
>>> http://hg.openjdk.java.net/jdk/jdk/file/tip/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfigVersioned.java#l47
>>>
>>>
>>> dl
>>>
>>> On 5/10/18 6:52 AM, Daniel D. Daugherty wrote:
>>>> Greetings,
>>>>
>>>> This review has been sent to two aliases so please reply to both.
>>>>
>>>> I'm obsoleting the '-XX:+InlineNotify' option and moving its
>>>> functionality
>>>> to the experimental '-XX:SyncKnobs' option. This is a leftover
>>>> cleanup from
>>>> the "Contended Locking fast notify bucket".
>>>>
>>>> Since this is a diagnostic option, a CSR is not required:
>>>>
>>>> https://wiki.openjdk.java.net/display/csr/CSR+FAQs
>>>>
>>>> > Interfaces that are experimental or for diagnostic purposes do
>>>> not need
>>>> > to go through CSR process, but the CSR process may be employed if
>>>> feedback
>>>> > from the CSR reviewers is desired.
>>>>
>>>> Webrev URL:
>>>> http://cr.openjdk.java.net/~dcubed/8132287-webrev/0_for_jdk_jdk/
>>>>
>>>> See the bug for the results of test invocations of the
>>>> '-XX:+InlineNotify'
>>>> option and the new '-XX:SyncKnobs' suboption.
>>>>
>>>> Thanks, in advance, for any feedback.
>>>>
>>>> Dan
>>>
>>
>
More information about the hotspot-compiler-dev
mailing list