< prev index next >
src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 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.
@@ -466,11 +466,11 @@
const char* repository_path = _path;
const size_t repository_path_len = repository_path != NULL ? strlen(repository_path) : 0;
const char* const path = emergency_path(repository_path, repository_path_len);
_chunkwriter->set_chunk_path(path);
}
- return _chunkwriter->open();
+ return _chunkwriter->open(vm_error);
}
size_t JfrRepository::close_chunk(jlong metadata_offset) {
return _chunkwriter->close(metadata_offset);
}
< prev index next >