< prev index next >

src/hotspot/share/jfr/periodic/jfrPeriodic.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 60,70 **** #include "services/classLoadingService.hpp" #include "services/management.hpp" #include "services/threadService.hpp" #include "utilities/exceptions.hpp" #include "utilities/globalDefinitions.hpp" ! /** * JfrPeriodic class * Implementation of declarations in * xsl generated traceRequestables.hpp */ --- 60,72 ---- #include "services/classLoadingService.hpp" #include "services/management.hpp" #include "services/threadService.hpp" #include "utilities/exceptions.hpp" #include "utilities/globalDefinitions.hpp" ! #if INCLUDE_SHENANDOAHGC ! #include "gc/shenandoah/shenandoahJfrSupport.hpp" ! #endif /** * JfrPeriodic class * Implementation of declarations in * xsl generated traceRequestables.hpp */
*** 575,579 **** --- 577,590 ---- EventCodeSweeperConfiguration event; event.set_sweeperEnabled(MethodFlushing); event.set_flushingEnabled(UseCodeCacheFlushing); event.commit(); } + + #if INCLUDE_SHENANDOAHGC + TRACE_REQUEST_FUNC(ShenandoahHeapRegionInformation) { + if (UseShenandoahGC) { + VM_ShenandoahSendHeapRegionInfoEvents op; + VMThread::execute(&op); + } + } + #endif
< prev index next >