Skip to content

Commit 1327aa6

Browse files
Kerem KatCesar Soares Lucas
authored andcommitted
8369949: Fix TestWaste.java stack overflow
Reviewed-by: egahlin, shade
1 parent 0bae56b commit 1327aa6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/hotspot/share/jfr/leakprofiler/chains/dfsClosure.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class EdgeQueue;
3737
class DFSClosure : public BasicOopIterateClosure {
3838
private:
3939
// max dfs depth should not exceed size of stack
40-
static const size_t max_dfs_depth = 4000;
40+
static const size_t max_dfs_depth = 3200;
4141
static UnifiedOopRef _reference_stack[max_dfs_depth];
4242

4343
EdgeStore* _edge_store;

test/jdk/ProblemList.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,6 @@ jdk/jfr/event/compiler/TestCodeSweeper.java 8338127 generic-
751751
jdk/jfr/event/oldobject/TestEmergencyDumpAtOOM.java 8371014 aix-ppc64,linux-ppc64le
752752
jdk/jfr/event/oldobject/TestShenandoah.java 8342951 generic-all
753753
jdk/jfr/event/runtime/TestResidentSetSizeEvent.java 8309846 aix-ppc64
754-
jdk/jfr/jvm/TestWaste.java 8369949 generic-all
755754

756755
############################################################################
757756

0 commit comments

Comments
 (0)