Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/jdk13_jfr.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp b/src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp
index 02941d167..5823ca71c 100644
index 84053c343..68388215e 100644
--- a/src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp
+++ b/src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp
@@ -84,17 +84,17 @@ size_t JfrChunkWriter::close(int64_t metadata_offset) {
Expand All @@ -9,8 +9,8 @@ index 02941d167..5823ca71c 100644
- this->write_be_at_offset(size_written(), CHUNK_SIZE_OFFSET);
+ this->write_be_at_offset((u8)size_written(), CHUNK_SIZE_OFFSET);
// initial checkpoint event offset
- this->write_be_at_offset(_chunkstate->previous_checkpoint_offset(), CHUNK_SIZE_OFFSET + (1 * FILEHEADER_SLOT_SIZE));
+ this->write_be_at_offset((u8)_chunkstate->previous_checkpoint_offset(), CHUNK_SIZE_OFFSET + (1 * FILEHEADER_SLOT_SIZE));
- this->write_be_at_offset(_chunkstate->last_checkpoint_offset(), CHUNK_SIZE_OFFSET + (1 * FILEHEADER_SLOT_SIZE));
+ this->write_be_at_offset((u8)_chunkstate->last_checkpoint_offset(), CHUNK_SIZE_OFFSET + (1 * FILEHEADER_SLOT_SIZE));
// metadata event offset
- this->write_be_at_offset(metadata_offset, CHUNK_SIZE_OFFSET + (2 * FILEHEADER_SLOT_SIZE));
+ this->write_be_at_offset((u8)metadata_offset, CHUNK_SIZE_OFFSET + (2 * FILEHEADER_SLOT_SIZE));
Expand Down
2 changes: 1 addition & 1 deletion scripts/jdk13_new.patch
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ index f028781ba..9bd39a865 100644
#include "gc/g1/g1CollectedHeap.hpp"
#endif
diff --git a/src/hotspot/share/oops/constantPool.cpp b/src/hotspot/share/oops/constantPool.cpp
index 090a422f1..00c382424 100644
index 174f9a668..3bd1e45e7 100644
--- a/src/hotspot/share/oops/constantPool.cpp
+++ b/src/hotspot/share/oops/constantPool.cpp
@@ -414,8 +414,12 @@ void ConstantPool::remove_unshareable_info() {
Expand Down