Request for review (s) - 8155948: Add message for CMS deprecation for some internal builds
Jon Masamitsu
jon.masamitsu at oracle.com
Wed Sep 7 17:12:31 UTC 2016
Webrevs are ready now and is somewhat larger than before since
(as was pointed out to me, thanks Kim) I had not covered
all the arguments that I should have.
When CMS is turned on as a result of UseAutoGCSelectPolicy, I also turn
on ParNew to avoid the message (and exit)
> It is not possible to combine the DefNew young collector with the CMS
> collector.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
Delta webrev
http://cr.openjdk.java.net/~jmasa/8155948/webrev_delta.00_01/
Full webrev
http://cr.openjdk.java.net/~jmasa/8155948/webrev.01/
Thanks.
Jon
On 09/06/2016 09:51 AM, Jon Masamitsu wrote:
> Please ignore this request for the moment. My webrevs are not what
> I thought they were.
>
> Jon
>
> On 9/6/2016 9:31 AM, Jon Masamitsu wrote:
>> Kim,
>>
>> Thanks for the review.
>>
>> On 9/1/2016 7:36 AM, Kim Barrett wrote:
>>>> On Aug 31, 2016, at 2:06 PM, Jon Masamitsu
>>>> <jon.masamitsu at oracle.com> wrote:
>>>>
>>>> Adds the support to emit a deprecation message in some builds.
>>>>
>>>> https://bugs.openjdk.java.net/browse/JDK-8155948
>>>>
>>>> A data structure is moved to a header file to allow
>>>> sharing and a stub function is added which can be
>>>> specialized for different builds.
>>>>
>>>> http://cr.openjdk.java.net/~jmasa/8155948/webrev.00/
>>> Mostly looks ok. A style issue:
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> src/share/vm/runtime/arguments.hpp
>>> 45 typedef struct {
>>> ...
>>> 50 } SpecialFlag;
>>>
>>> This is C++ code, not C. Rather than using typedef of an anonymous
>>> struct, we should be using a named struct, e.g.
>>>
>>> struct SpecialFlag { ... };
>>>
>>> ------------------------------------------------------------------------------
>>>
>>
>> Fixed per your suggestion.
>>
>> Delta webrev
>> http://cr.openjdk.java.net/~jmasa/8155948/webrev_delta.00_01/
>>
>> Full webrev
>> http://cr.openjdk.java.net/~jmasa/8155948/webrev.01/
>>
>> Jon
>>
>>>
>>> There are some other similar typedefs in arguments.cpp that aren’t
>>> touched by this change.
>>
>>
>>
>>
>>
>>
>>>
>>
>
More information about the hotspot-dev
mailing list