Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8248632: Shenandoah: build fails without both JVMTI and JFR
Reviewed-by: rkennke, zgu
  • Loading branch information
shipilev committed Jul 2, 2020
1 parent 43a2010 commit 00e0a609555f28cc81a6c475d111df65e28b5e5c
Showing 1 changed file with 5 additions and 3 deletions.
@@ -93,9 +93,11 @@ class ShenandoahSerialWeakRoots {
JVMTI_ONLY(ShenandoahJVMTIWeakRoot _jvmti_weak_roots;)
JFR_ONLY(ShenandoahJFRWeakRoot _jfr_weak_roots;)
public:
ShenandoahSerialWeakRoots(ShenandoahPhaseTimings::Phase phase) :
JVMTI_ONLY(_jvmti_weak_roots(phase))
JFR_ONLY(JVMTI_ONLY(COMMA)_jfr_weak_roots(phase)) {};
ShenandoahSerialWeakRoots(ShenandoahPhaseTimings::Phase phase)
JVMTI_ONLY(: _jvmti_weak_roots(phase))
JFR_ONLY(NOT_JVMTI(:) JVMTI_ONLY(COMMA) _jfr_weak_roots(phase))
{};

void weak_oops_do(BoolObjectClosure* is_alive, OopClosure* keep_alive, uint worker_id);
void weak_oops_do(OopClosure* cl, uint worker_id);
};

0 comments on commit 00e0a60

Please sign in to comment.