jdk-24/hotspot
Antonios Printezis bb23e30511 6974966: G1: unnecessary direct-to-old allocations
This change revamps the slow allocation path of G1. Improvements include the following: a) Allocations directly to old regions are now totally banned. G1 now only allows allocations out of young regions (with the only exception being humongous regions). b) The thread that allocates a new region (which is now guaranteed to be young) does not dirty all its cards. Each thread that successfully allocates out of a young region is now responsible for dirtying the cards that corresponding to the "block" that just got allocated. c) allocate_new_tlab() and mem_allocate() are now implemented differently and TLAB allocations are only done by allocate_new_tlab(). d) If a thread schedules an evacuation pause in order to satisfy an allocation request, it will perform the allocation at the end of the safepoint so that the thread that initiated the GC also gets "first pick" of any space made available by the GC. e) If a thread is unable to allocate a humongous object it will schedule an evacuation pause in case it reclaims enough regions so that the humongous allocation can be satisfied aftewards. f) The G1 policy is more careful to set the young list target length to be the survivor number +1. g) Lots of code tidy up, removal, refactoring to make future changes easier.

Reviewed-by: johnc, ysr
2010-08-24 17:24:33 -04:00
..
.jcheck 6669216: Add jcheck configuration directories 2008-02-29 20:03:58 -08:00
agent 6996563: 6984311 changes forgot to update vmStructs.cpp for new field _operands 2010-11-05 12:18:30 -07:00
make 6989984: Use standard include model for Hospot 2010-11-23 13:22:55 -08:00
src 6974966: G1: unnecessary direct-to-old allocations 2010-08-24 17:24:33 -04:00
test Merge 2010-11-12 09:37:13 -05:00
.hgignore 6909462: Fix nbproject/private references in .hgignore 2009-12-16 12:51:48 -08:00
.hgtags Added tag hs20-b02 for changeset dc71e7fdd835 2010-11-11 23:17:26 -08:00
ASSEMBLY_EXCEPTION 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
LICENSE 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
README Initial load 2007-12-01 00:00:00 +00:00
THIRD_PARTY_README 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00

README:
  This file should be located at the top of the hotspot Mercurial repository.

  See http://openjdk.java.net/ for more information about the OpenJDK.

  See ../README-builds.html for complete details on build machine requirements.

Simple Build Instructions:

    cd make && gnumake
     
  The files that will be imported into the jdk build will be in the "build"
  directory.