Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openjdk/jdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9713152e
Choose a base ref
...
head repository: openjdk/jdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5c0863ad
Choose a head ref

Commits on Jan 27, 2021

  1. Copy the full SHA
    aff8459 View commit details
  2. Copy the full SHA
    d6fd93a View commit details

Commits on Jan 28, 2021

  1. Copy the full SHA
    89d45a7 View commit details

Commits on Jan 30, 2021

  1. code refine

    linzang committed Jan 30, 2021
    Copy the full SHA
    03c0a96 View commit details
  2. fix buffer queue issue

    linzang committed Jan 30, 2021
    Copy the full SHA
    fb28c13 View commit details

Commits on Feb 3, 2021

  1. Copy the full SHA
    0671915 View commit details
  2. Copy the full SHA
    016218b View commit details

Commits on Feb 12, 2021

  1. Copy the full SHA
    b477665 View commit details

Commits on Feb 18, 2021

  1. Copy the full SHA
    44ea792 View commit details
  2. Merge branch 'master' into pd

    linzang committed Feb 18, 2021
    Copy the full SHA
    375e673 View commit details

Commits on Feb 19, 2021

  1. Copy the full SHA
    1af0e1e View commit details
  2. Copy the full SHA
    0301a74 View commit details

Commits on Feb 27, 2021

  1. Merge master

    linzang committed Feb 27, 2021
    Copy the full SHA
    f0b60d7 View commit details
  2. Revise jmap help info

    linzang committed Feb 27, 2021
    Copy the full SHA
    6789ba2 View commit details

Commits on Mar 10, 2021

  1. Copy the full SHA
    d636a14 View commit details
  2. Copy the full SHA
    1e58390 View commit details

Commits on Mar 11, 2021

  1. code clean

    linzang committed Mar 11, 2021
    Copy the full SHA
    370e441 View commit details

Commits on Mar 15, 2021

  1. Copy the full SHA
    de05100 View commit details

Commits on Mar 17, 2021

  1. Copy the full SHA
    7d10c8f View commit details

Commits on Mar 22, 2021

  1. resize large object threshold

    linzang committed Mar 22, 2021
    Copy the full SHA
    f0c8a6e View commit details
  2. Revert "hide the dumpheapext error message"

    This reverts commit 1af0e1e.
    linzang committed Mar 22, 2021
    Copy the full SHA
    d815583 View commit details
  3. Copy the full SHA
    4f221bd View commit details

Commits on Mar 29, 2021

  1. Typo fix

    linzang committed Mar 29, 2021
    Copy the full SHA
    b6cc10e View commit details
  2. Copy the full SHA
    301cf8c View commit details

Commits on Apr 14, 2021

  1. Copy the full SHA
    997784b View commit details

Commits on Apr 26, 2021

  1. refine with several fix

    linzang committed Apr 26, 2021
    Copy the full SHA
    f46ba5d View commit details
  2. Copy the full SHA
    6d14790 View commit details

Commits on May 6, 2021

  1. code refine and typo fix

    linzang committed May 6, 2021
    Copy the full SHA
    bf6d022 View commit details

Commits on May 11, 2021

  1. undo JMap.java

    linzang committed May 11, 2021
    Copy the full SHA
    a06772a View commit details
  2. Copy the full SHA
    5c0863a View commit details
6 changes: 5 additions & 1 deletion src/hotspot/share/services/attachListener.cpp
Original file line number Diff line number Diff line change
@@ -247,11 +247,15 @@ jint dump_heap(AttachOperation* op, outputStream* out) {
return JNI_ERR;
}
}
// Parallel thread number for heap dump, initialize based on active processor count.
// Note the real number of threads used is also determined by active workers and compression
// backend thread number. See heapDumper.cpp.
uint parallel_thread_num = MAX2<uint>(1, (uint)os::initial_active_processor_count() * 3 / 8);
// Request a full GC before heap dump if live_objects_only = true
// This helps reduces the amount of unreachable objects in the dump
// and makes it easier to browse.
HeapDumper dumper(live_objects_only /* request GC */);
dumper.dump(op->arg(0), out, (int)level);
dumper.dump(path, out, (int)level, (uint)parallel_thread_num);
}
return JNI_OK;
}
Loading