Skip to content

Commit

Permalink
Add inline keyword.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgxbslgx committed Apr 17, 2024
1 parent 8a35ea0 commit b9744c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ class G1BlockOffsetTable: public CHeapObj<mtGC> {
inline void set_offset_array(uint8_t* left, uint8_t* right, uint8_t offset);

// Mapping from address to object start array entry
uint8_t* entry_for_addr(const void* const p) const;
inline uint8_t* entry_for_addr(const void* const p) const;

// Mapping from object start array entry to address of first word
HeapWord* addr_for_entry(const uint8_t* const p) const;
inline HeapWord* addr_for_entry(const uint8_t* const p) const;

void check_address(uint8_t* addr, const char* msg) const NOT_DEBUG_RETURN;

Expand Down

0 comments on commit b9744c9

Please sign in to comment.