This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ClearNoncleanCardWrapper::do_MemRegion(MemRegion mr) { | |
assert(mr.word_size() > 0, "Error"); | |
assert(_ct->is_aligned(mr.start()), "mr.start() should be card aligned"); | |
// mr.end() may not necessarily be card aligned. | |
jbyte* cur_entry = _ct->byte_for(mr.last()); | |
const jbyte* limit = _ct->byte_for(mr.start()); | |
HeapWord* end_of_non_clean = mr.end(); | |
HeapWord* start_of_non_clean = end_of_non_clean; | |
while (cur_entry >= limit) { | |
HeapWord* cur_hw = _ct->addr_for(cur_entry); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ClearNoncleanCardWrapper::do_MemRegion(MemRegion mr) { | |
assert(mr.word_size() > 0, "Error"); | |
assert(_ct->is_aligned(mr.start()), "mr.start() should be card aligned"); | |
// mr.end() may not necessarily be card aligned. | |
jbyte* cur_entry = _ct->byte_for(mr.last()); | |
const jbyte* limit = _ct->byte_for(mr.start()); | |
HeapWord* end_of_non_clean = mr.end(); | |
HeapWord* start_of_non_clean = end_of_non_clean; | |
while (cur_entry >= limit) { | |
HeapWord* cur_hw = _ct->addr_for(cur_entry); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clone https://github.com/aragozin/optaplanner-bench.git | |
git checkout jmc_workbench_0 | |
mvn package | |
mvn -P ui exec:java | |
Disable some JVM optimizations | |
MAVEN_OPTS=-Xmx512m -XX:+NeverActAsServerClassMachine -XX:CICompilerCount=1 -XX:-TieredCompilation -XX:-DoEscapeAnalysis | |
mvn -P mrbench exec:java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone -b hz_demo_step_1 https://github.com/aragozin/proflab.git hz_bench | |
git clone -b bench/deadlock/master https://github.com/aragozin/proflab.git deadlock | |
git clone -b demo https://github.com/aragozin/spring-petclinic.git petclinic | |
cd hz_bench | |
mvn -P bench test | |
jcmd 4252 ManagementAgent.start jmxremote.authenticate=false jmxremote.ssl=false jmxremote.port=5555 jmxremote.rmi.port=5555 |