Skip to content

Commit 9fc47f8

Browse files
committed
Small maintainability improvement
1 parent 114abdc commit 9fc47f8

File tree

1 file changed

+1
-1
lines changed
  • dd-java-agent/agent-profiling/profiling-controller-openjdk/src/main/java/com/datadog/profiling/controller/openjdk/events

1 file changed

+1
-1
lines changed

dd-java-agent/agent-profiling/profiling-controller-openjdk/src/main/java/com/datadog/profiling/controller/openjdk/events/SmapEntryCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ static class AnnotatedRegion {
3737

3838
private static final Logger log = LoggerFactory.getLogger(SmapEntryCache.class);
3939

40-
private static final String VSYSCALL_START_ADDRESS_STR = "ffffffffff600000";
4140
private static final long VSYSCALL_START_ADDRESS = 0xffffffffff600000L;
41+
private static final String VSYSCALL_START_ADDRESS_STR = Long.toHexString(VSYSCALL_START_ADDRESS);
4242
private static final Path SMAPS_PATH = Paths.get("/proc/self/smaps");
4343

4444
private final Object[] events = new Object[] {new ArrayList<>(), new ArrayList<>()};

0 commit comments

Comments
 (0)