Skip to content

Native Mark-Sweep: the more the warmups, the more the GCs #841

Open
@chiarameiohas

Description

@chiarameiohas

I noticed that in Mark-Sweep, the more the warmups, the more GCs are run. This does not happen on the same benchmark when running on Immix.

Mark-Sweep

  • 1 warmup: 40 GCs
  • 2 warmups: 41 GCs
  • 3 warmups: 42 GCs
  • 4 warmups: 52 GCs
  • 5 warmups: 60 GCs

Immix

The first 4 all ran 40 GCs and the last one (5 warmups) ran 39 GCs.

Configuration

I used the mmtk-core version 440b57c with the OpenJDK binding.
I merged the commits from issue #824 (fixes a memory leak found in Mark-Sweep).
I used the biojava benchmark on a 500M heap.

This is the command I used:

MMTK_PLAN=MarkSweep  ./build/linux-x86_64-normal-server-release/images/jdk/bin/java -Djava.library.path=`pwd` -cp `pwd`:./dacapo-evaluation-git-29a657f.jar -XX:+UseThirdPartyHeap  -XX:MetaspaceSize=500M -Xms$HEAP_SIZE -Xmx$HEAP_SIZE Harness -c DacapoChopinCallback -n 3 biojava 

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: BugP-normalPriority: Normal.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions