OpenJDK / jigsaw / jake / hotspot
changeset 6407:e7a6a3354c84
8041627: Solaris Studio 12.4 C++ 5.13 compilation error due to lack of "surplus" prototype for binaryTreeDictionary.cpp.
Summary: Fix C++ compilation error diagnostic for the call of "surplus" within get_better_list() method.
Reviewed-by: coleenp, dholmes
author | lfoltan |
---|---|
date | Tue, 06 May 2014 08:59:57 -0400 |
parents | 003c36658224 |
children | 21130eb5768d |
files | src/share/vm/memory/binaryTreeDictionary.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/memory/binaryTreeDictionary.cpp Mon May 05 19:53:00 2014 -0400 +++ b/src/share/vm/memory/binaryTreeDictionary.cpp Tue May 06 08:59:57 2014 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -120,7 +120,7 @@ // chunk. TreeList<FreeChunk, ::AdaptiveFreeList<FreeChunk> >* curTL = this; - if (surplus() <= 0) { + if (curTL->surplus() <= 0) { /* Use the hint to find a size with a surplus, and reset the hint. */ TreeList<FreeChunk, ::AdaptiveFreeList<FreeChunk> >* hintTL = this; while (hintTL->hint() != 0) {