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
{ | |
"allOf": [ | |
{ | |
"type": "object", | |
"properties": { | |
"cancelRetriesOnTimeout": { | |
"type": "boolean" | |
}, | |
"connectionName": { | |
"type": "string" |
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
package org.sample; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.BenchmarkMode; | |
import org.openjdk.jmh.annotations.Fork; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.OutputTimeUnit; | |
import sun.misc.Unsafe; | |
import java.lang.reflect.Field; |
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
@Test | |
public void testRegisterOutstandingRequestsGauge() { | |
metrics.registerOutstandingRequestsGauge(new OutstandingRequestsGauge() { | |
@Override | |
public int getOutstandingRequests() { | |
return 6; | |
} | |
@Override | |
public String getHostName() { |
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
pause time in millis | % of pauses | |
---|---|---|
0-50 | 15.6% | |
50-100 | 9.52% | |
100-150 | 21.55% | |
150-200 | 34.9% | |
200-250 | 15.23% | |
250-300 | 2.82% | |
300-350 | 0.31% | |
350-400 | 0.06% |
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
Started [cpu] profiling | |
--- Execution profile --- | |
Total samples: 34192 | |
Non-Java: 649 (1.90%) | |
Unknown (native): 114 (0.33%) | |
Not walkable (native): 5 (0.01%) | |
Unknown (Java): 118 (0.35%) | |
Not walkable (Java): 115 (0.34%) | |
Deopt: 193 (0.56%) |
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
--- 40079459 ns (0.07%), 4 samples | |
[ 0] StackWalk::walk(Handle, long, int, int, int, objArrayHandle, Thread*) | |
[ 1] JVM_CallStackWalk | |
[ 2] java.lang.StackStreamFactory$AbstractStackWalker.callStackWalk | |
[ 3] java.lang.StackStreamFactory$AbstractStackWalker.beginStackWalk | |
[ 4] java.lang.StackStreamFactory$AbstractStackWalker.walk | |
[ 5] java.lang.StackWalker.walk | |
[ 6] org.apache.logging.log4j.util.StackLocator.getCallerClass | |
[ 7] org.apache.logging.log4j.util.StackLocatorUtil.getCallerClass | |
[ 8] org.apache.logging.log4j.jcl.LogAdapter.getContext |
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
--- 1572022745 ns (2.64%), 157 samples | |
[ 0] AccessInternal::PostRuntimeDispatch<ZBarrierSet::AccessBarrier<1187924ul, ZBarrierSet>, (AccessInternal::BarrierType)2, 1187924ul>::oop_access_barrier(void*) | |
[ 1] ResolvedMethodTable::lookup(int, unsigned int, Method*) | |
[ 2] java_lang_invoke_ResolvedMethodName::find_resolved_method(methodHandle const&, Thread*) | |
[ 3] CallInfo::CallInfo(Method*, Klass*, Thread*) | |
[ 4] java_lang_StackFrameInfo::set_method_and_bci(Handle, methodHandle const&, int, Thread*) | |
[ 5] JavaFrameStream::fill_frame(int, objArrayHandle, methodHandle const&, Thread*) | |
[ 6] StackWalk::fill_in_frames(long, BaseFrameStream&, int, int, objArrayHandle, int&, Thread*) | |
[ 7] StackWalk::fetchNextBatch(Handle, long, long, int, int, objArrayHandle, Thread*) | |
[ 8] JVM_MoreStackWalk |
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
--- 60109469 ns (0.07%), 6 samples | |
[ 0] ResolvedMethodTable::lookup(int, unsigned int, Method*) | |
[ 1] java_lang_invoke_ResolvedMethodName::find_resolved_method(methodHandle const&, Thread*) | |
[ 2] CallInfo::CallInfo(Method*, Klass*, Thread*) | |
[ 3] java_lang_StackFrameInfo::set_method_and_bci(Handle, methodHandle const&, int, Thread*) | |
[ 4] StackWalk::walk(Handle, long, int, int, int, objArrayHandle, Thread*) | |
[ 5] JVM_CallStackWalk | |
[ 6] java.lang.StackStreamFactory$AbstractStackWalker.callStackWalk | |
[ 7] java.lang.StackStreamFactory$AbstractStackWalker.beginStackWalk | |
[ 8] java.lang.StackStreamFactory$AbstractStackWalker.walk |
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
CREATE OR REPLACE FORCE VIEW V_RESTORABLE_TABLES AS | |
SELECT table_name tbl from user_tables WHERE | |
table_name not like 'FRESH%' | |
AND temporary = 'N' | |
AND table_name NOT IN ('SNAPSHOT_DATA','SNAPSHOT_TABLE_GROUPS','TABLES_META_DATA') | |
minus | |
(select log_table from user_mview_logs) | |
minus | |
(select object_name from user_objects where object_type='MATERIALIZED VIEW'); |