Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
8215452: Logged repo location is wrong when using delayed recording s…
…tart
Reviewed-by: mgronlun, mseledtsov
- Loading branch information
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2016, 2020, 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 |
|
@@ -197,7 +197,7 @@ public static FlightRecorder getFlightRecorder() throws IllegalStateException, S |
|
|
Logger.log(JFR, DEBUG, "samplethreads: " + Options.getSampleThreads()); |
|
|
Logger.log(JFR, DEBUG, "stackdepth: " + Options.getStackDepth()); |
|
|
Logger.log(JFR, DEBUG, "threadbuffersize: " + Options.getThreadBufferSize()); |
|
|
Logger.log(JFR, LogLevel.INFO, "Created repository " + Repository.getRepository().getRepositoryPath().toString()); |
|
|
Logger.log(JFR, LogLevel.INFO, "Repository base directory: " + Repository.getRepository().getBaseLocation()); |
|
|
PlatformRecorder.notifyRecorderInitialized(platformRecorder); |
|
|
} |
|
|
} |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2012, 2020, 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 |
|
@@ -167,4 +167,9 @@ synchronized void clear() { |
|
|
public synchronized SafePath getRepositoryPath() { |
|
|
return repository; |
|
|
} |
|
|
|
|
|
public synchronized SafePath getBaseLocation() { |
|
|
return baseLocation; |
|
|
} |
|
|
|
|
|
} |