Skip to content

Commit

Permalink
Merge pull request #61 from SAP/pr-jdk-10+46
Browse files Browse the repository at this point in the history
Merge to tag jdk-10+46
  • Loading branch information
axel7born authored Mar 8, 2018
2 parents f5d89f9 + 47c9547 commit e50e853
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .hgtags
Original file line number Diff line number Diff line change
Expand Up @@ -469,3 +469,4 @@ e569e83139fdfbecfeb3cd9014d560917787f158 jdk-10+38
4b62b815b4f49970b91a952929cf50115c263cb3 jdk-10+42
107413b070b92c88bde6230ceb4a19b579781068 jdk-10+43
663f20fc51091bd7f95d18448850ba091207b7bd jdk-10+44
4f96cf952e71cb8a127334494faf28880c26181b jdk-10+45
3 changes: 2 additions & 1 deletion src/hotspot/share/opto/library_call.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2578,7 +2578,8 @@ bool LibraryCallKit::inline_unsafe_access(bool is_store, const BasicType type, c
// the one that guards them: pin the Load node
LoadNode::ControlDependency dep = LoadNode::Pinned;
Node* ctrl = control();
if (adr_type->isa_instptr()) {
// non volatile loads may be able to float
if (!need_mem_bar && adr_type->isa_instptr()) {
assert(adr_type->meet(TypePtr::NULL_PTR) != adr_type->remove_speculative(), "should be not null");
intptr_t offset = Type::OffsetBot;
AddPNode::Ideal_base_and_offset(adr, &_gvn, offset);
Expand Down

0 comments on commit e50e853

Please # to comment.