RFR (XXS): 8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages

Thomas Schatzl thomas.schatzl at oracle.com
Wed Sep 11 07:54:28 PDT 2013

Hi all,

  can I have reviews for the following tiny issue: while initializing
the heap a failing assertion is hit.

Instead of checking whether any parallel gc combination is allowed to
have a non-large page aligned heap when large pages are used, it only
verifies that ParallelOldGC is set.
Since -XX:+ParallelGC -XX:-ParallelOldGC is a valid combination, the
assert fails in this case.

I added a test case that checks successful startup for all gcs with and
without UseLargePages. Not sure if it is needed to do that for all gcs,
as this bug is really specific to parallel gc, and I'm somewhat
reluctant due to the added number of gc invocations - any comments?


bugs.sun.com (not available yet):

jprt, failing jtreg test case now succeeding


More information about the hotspot-gc-dev mailing list