JDK-8177900 : jweak pre barrier missing for MemberName
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2017-03-31
  • Updated: 2017-04-04
  • Resolved: 2017-04-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
This error came back after the integration of JDK-8176100:

[2017-03-31T07:00:27.28] #  Internal Error (/hotspot/src/share/vm/gc/g1/g1HeapVerifier.cpp:413), pid=24589, tid=24633
[2017-03-31T07:00:27.28] #  guarantee(!failures) failed: there should not have been any failures


[2017-03-31T07:00:27.23] [60.594s][error][gc,verify] ----------
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify] Field 0xc7141c08 of live obj 0xc7141bf0 in region [0xc7100000, 0xc7200000)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify] java.lang.invoke.DirectMethodHandle 
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify] {0xc7141bf0} - klass: 'java/lang/invoke/DirectMethodHandle'
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - ---- fields (total size 8 words):
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - 'customizationCount' 'B' @8  0
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - private final 'type' 'Ljava/lang/invoke/MethodType;' @12  a 'java/lang/invoke/MethodType'{0xc5ea3a48} = (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; (c5ea3a48)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - final 'form' 'Ljava/lang/invoke/LambdaForm;' @16  a 'java/lang/invoke/LambdaForm'{0xc4f6b870} => a 'java/lang/invoke/MemberName'{0xc4fc5070} = {method} {0xc0465820} 'invokeStatic' '(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;' in 'java/lang/invoke/DirectMethodHandle$Holder' (c4f6b870)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - 'asTypeCache' 'Ljava/lang/invoke/MethodHandle;' @20  NULL
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - final 'member' 'Ljava/lang/invoke/MemberName;' @24  a 'java/lang/invoke/MemberName'{0xc6b94ac0} = {method} {0xbda6a6d8} 'makeConcatWithConstants' '(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;' in 'java/lang/invoke/StringConcatFactory' (c6b94ac0)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify] points to dead obj 0xc6b94ac0 in region [0xc6b00000, 0xc6c00000)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify] java.lang.invoke.MemberName 
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify] {0xc6b94ac0} - klass: 'java/lang/invoke/MemberName'
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - ---- fields (total size 10 words):
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - private 'flags' 'I' @8  100728969 (6010089)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - private strict 'clazz' 'Ljava/lang/Class;' @20  a 'java/lang/Class'{0xc5f4a0b0} = 'java/lang/invoke/StringConcatFactory' (c5f4a0b0)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - private 'name' 'Ljava/lang/String;' @24  "makeConcatWithConstants"{0xc6b94ae8} (c6b94ae8)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - private 'type' 'Ljava/lang/Object;' @28  a 'java/lang/invoke/MethodType'{0xc5ea3a48} = (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; (c5ea3a48)
[2017-03-31T07:00:27.23] [60.594s][error][gc,verify]  - 'resolution' 'Ljava/lang/Object;' @32  NULL



Comments
The build where this issue came up did in fact not contain the fix for JDK-8176100, closing as a dup
04-04-2017

It seems unlikely that the problem was introduced by JDK-8176100 but there might be some corner case which it missed.
31-03-2017