RFR (S): 8238832: Obsolete PrintVMQWaitTime

Daniel D. Daugherty daniel.daugherty at oracle.com
Tue Jun 16 13:43:55 UTC 2020


Found another dangling issue when I finished reading the 8236844 review 
thread:

> On 6/02/2020 11:02 pm, Harold Seigel wrote:
>> Hi David,
>>
>> The change looks good.  Could you also remove PrintVMQWaitTime from 
>> test/jdk/com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java ?
>
> That will happen when the flag is obsoleted in JDK 16.
>
> But thanks for the pointer, I hadn't expected to find any test 
> references to this flag. 

$ grep PrintVMQWaitTime 
open/test/jdk/com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java
                 pw.println("+PrintVMQWaitTime");
             checkOrigin("PrintVMQWaitTime", Origin.CONFIG_FILE);

so you'll want to make that change also.

Dan


On 6/16/20 9:39 AM, Daniel D. Daugherty wrote:
> I did notice one thing while poking around...
>
> The discussion for:
>
> "regarding JDK-8236844: Convert PrintVMQWaitTime to unified logging"
>
> mentioned this:
>
>> This should be converted to unified logging (or even consider scrapping
>> it completely - which means the VM_Operation timestamp can be deleted).
>
> But I don't see any changes for removing the VM_Operation timestamp...
>
> Dan
>
>
> On 6/16/20 9:34 AM, Daniel D. Daugherty wrote:
>> On 6/15/20 9:50 PM, David Holmes wrote:
>>> webrev: http://cr.openjdk.java.net/~dholmes/8238832/webrev/
>>
>> src/hotspot/share/runtime/arguments.cpp
>>     No comments.
>>
>> src/hotspot/share/runtime/globals.hpp
>>     No comments.
>>
>> src/hotspot/share/runtime/vmThread.cpp
>>     No comments.
>>
>> Thumbs up.
>>
>> Dan
>>
>>
>>
>>> https://bugs.openjdk.java.net/browse/JDK-8238832
>>>
>>> PrintVMQWaitTime was deprecated in JDK 15 under JDK-8236844 and is 
>>> now obsoleted in JDK 16.
>>>
>>> - The flag table entry is moved to the obsolete flags section.
>>> - the entry in globals.hpp is removed
>>> - the code in vmThread.cpp is removed
>>>
>>> Testing:
>>>  - local build
>>>  - manual check:
>>>
>>> > ../build/linux-x64-debug/images/jdk/bin/java -XX:+PrintVMQWaitTime 
>>> -version
>>> Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
>>> PrintVMQWaitTime; support was removed in 16.0
>>> java version "16-internal" 2021-03-16
>>> Java(TM) SE Runtime Environment (fastdebug build 
>>> 16-internal+0-2020-06-12-0350435.daholme...)
>>> Java HotSpot(TM) 64-Bit Server VM (fastdebug build 
>>> 16-internal+0-2020-06-12-0350435.daholme..., mixed mode, sharing)
>>>
>>> Thanks,
>>> David
>>> -----
>>
>



More information about the hotspot-runtime-dev mailing list