mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-21 02:35:53 +10:00
[강운덕] [LUCYSUS-1744] datasender의 메모리 할당 및 copy를 줄임. cl로드 구조 변경에 따른 TestCase 를 수정
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1453 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -23,17 +23,6 @@ public class DefaultTraceContext implements TraceContext {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(DefaultTraceContext.class.getName());
|
||||
|
||||
private static DefaultTraceContext CONTEXT = new DefaultTraceContext();
|
||||
|
||||
// initailze관련 생명주기가 뭔가 애매함. 추후 방안을 더 고려해보자.
|
||||
public static TraceContext initialize() {
|
||||
return CONTEXT = new DefaultTraceContext();
|
||||
}
|
||||
|
||||
// 얻는 것도 뭔가 모양이 마음에 안듬.
|
||||
public static DefaultTraceContext getTraceContext() {
|
||||
return CONTEXT;
|
||||
}
|
||||
|
||||
private final ThreadLocal<Trace> threadLocal = new NamedThreadLocal<Trace>("Trace");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user