RFR (XS) JDK-8041627: Solaris Studio 12.4 C++ 5.13 compilation error due to lack of "surplus" prototype for binaryTreeDictionary.cpp

Lois Foltan lois.foltan at oracle.com
Mon May 5 13:12:07 UTC 2014


Thanks David for the review!
Lois

On 5/4/2014 4:14 PM, David Holmes wrote:
> Hi Lois,
>
> On 5/05/2014 5:01 AM, Lois Foltan wrote:
>> Hello,
>>
>> Please review the following fix:
>>
>> Webrev:
>>      http://cr.openjdk.java.net/~lfoltan/bug_jdk8041627
>>
>> Bug: Solaris Studio 12.4 C++ 5.13 compilation error due to lack of
>> "surplus" prototype for binaryTreeDictionary.cpp
>>      https://bugs.openjdk.java.net/browse/JDK-8041627
>>
>> Summary:
>> Thank you to Christian Thalinger for posting the code fix for this
>> issue.  Solaris Studio 12.4 C++ 5.13
>> generates the following compilation error diagnostic concerning the use
>> of "surplus" at line 123:
>> "<directory>/src/share/vm/memory/binaryTreeDictionary.cpp", line 123:
>> Error: The function "surplus" must have a prototype
>
> Curious error message (to me).
>
> Fix looks fine. Hopefully this is the last such change to be made to 
> this code.
>
> David
> -----
>
>> Tests:
>> JPRT build & test, Hotspot's JTREG test system, vm.quick.testlist



More information about the hotspot-compiler-dev mailing list