Mercurial > hg > release > icedtea6-1.9
changeset 2288:9f1479361513
Update params-cast-size_t.patch for hs19
2010-11-29 Matthias Klose <doko@ubuntu.com>
* patches/hotspot/hs19/params-cast-size_t.patch: Update for hs19.
author | doko@ubuntu.com |
---|---|
date | Mon, 29 Nov 2010 08:48:38 +0100 |
parents | c39df2b1130f |
children | c24725b417da |
files | ChangeLog patches/hotspot/hs19/params-cast-size_t.patch |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Nov 24 15:00:11 2010 +0000 +++ b/ChangeLog Mon Nov 29 08:48:38 2010 +0100 @@ -1,3 +1,7 @@ +2010-11-29 Matthias Klose <doko@ubuntu.com> + + * patches/hotspot/hs19/params-cast-size_t.patch: Update for hs19. + 2010-11-24 Andrew John Hughes <ahughes@redhat.com> * configure.ac: Bump to 1.9.3pre.
--- a/patches/hotspot/hs19/params-cast-size_t.patch Wed Nov 24 15:00:11 2010 +0000 +++ b/patches/hotspot/hs19/params-cast-size_t.patch Mon Nov 29 08:48:38 2010 +0100 @@ -282,3 +282,14 @@ const size_t end_index = beg_index + stride; T* const base = (T*)a->base(); T* const beg = base + beg_index; +--- openjdk/hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp~ 2010-10-08 20:29:24.000000000 +0000 ++++ openjdk/hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp 2010-11-29 07:27:56.000000000 +0000 +@@ -163,7 +163,7 @@ + const size_t num_overflow_elems = of_stack->size(); + const size_t space_available = queue->max_elems() - queue->size(); + const size_t num_take_elems = MIN3(space_available / 4, +- ParGCDesiredObjsFromOverflowList, ++ (size_t) ParGCDesiredObjsFromOverflowList, + num_overflow_elems); + // Transfer the most recent num_take_elems from the overflow + // stack to our work queue.