Implement suggestions in https://bugs.openjdk.org/browse/JDK-8387577. 
This PR uses "approximate" pc that matches the registration offset of oops map.


Testing - tier1 and tier2 test run

make test TEST=":tier1 :tier2" CONF=linux-s390x-server-fastdebug
==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR  
SKIP   
>> jtreg:test/hotspot/jtreg:tier1                     3887  3411     8     0   
>> 468 <<
   jtreg:test/jdk:tier1                               2656  2605     0     0    
51   
   jtreg:test/langtools:tier1                         4775  4763     0     0    
12   
   jtreg:test/jaxp:tier1                                 0     0     0     0    
 0   
   jtreg:test/lib-test:tier1                            41    41     0     0    
 0   
>> jtreg:test/hotspot/jtreg:tier2                     1059   846     3     0   
>> 210 <<
>> jtreg:test/jdk:tier2                               4609  4351     2     0   
>> 256 <<
   jtreg:test/langtools:tier2                           14    12     0     0    
 2   
   jtreg:test/jaxp:tier2                               524   523     0     0    
 1   
   jtreg:test/docs:tier2                                 4     0     0     0    
 4   
==============================
TEST FAILURE

Failed tests also fail on master branch for the same reason, 
test/hotspot/jtreg/runtime/ErrorHandling/CreateCoredumpOnCrash.java` passes 
after enabling `ulimit -c unlimited`.


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR  
SKIP   
   jtreg:test/hotspot/jtreg/compiler/c2/igvn/TestOptimizeTrichotomy.java#Xcomp
>>                                                       1     0     1     0    
>>  0 <<
   jtreg:test/hotspot/jtreg/compiler/c2/igvn/TestOptimizeTrichotomy.java#vanilla
>>                                                       1     0     1     0    
>>  0 <<
   
jtreg:test/hotspot/jtreg/compiler/escapeAnalysis/TestBCEscapeAnalyzerOverflow.java
>>                                                       1     0     1     0    
>>  0 <<
   jtreg:test/hotspot/jtreg/compiler/gcbarriers/TestZGCBarrierElision.java#Z
>>                                                       1     0     1     0    
>>  0 <<
   
jtreg:test/hotspot/jtreg/compiler/loopopts/superword/TestDoNotFilterNaNSummands.java
>>                                                       1     0     1     0    
>>  0 <<
   
jtreg:test/hotspot/jtreg/compiler/loopopts/superword/TestMemorySegmentFilterSummands.java
>>                                                       1     0     1     0    
>>  0 <<
   jtreg:test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java
>>                                                       1     0     1     0    
>>  0 <<
   
jtreg:test/hotspot/jtreg/runtime/valhalla/valuetypes/classloading/ConcurrentClassLoadingTest.java
>>                                                       1     0     1     0    
>>  0 <<
   jtreg:test/jdk/java/nio/channels/Channels/Available.java
>>                                                       1     0     1     0    
>>  0 <<
>> jtreg:test/jdk/java/nio/file/FileStore/Basic.java     1     0     1     0    
>>  0 <<
   jtreg:test/hotspot/jtreg/applications/ctw/modules/java_security_jgss.java
>>                                                       1     0     1     0    
>>  0 <<
   jtreg:test/hotspot/jtreg/applications/ctw/modules/jdk_jfr.java
>>                                                       1     0     1     0    
>>  0 <<
   jtreg:test/hotspot/jtreg/runtime/ErrorHandling/CreateCoredumpOnCrash.java
                                                         1     1     0     0    
 0   
==============================
TEST FAILURE

  `test/hotspot/jtreg/runtime/ErrorHandling/CreateCoredumpOnCrash.java` passes 
on the feature branch after enabling `ulimit -c unlimited`


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR  
SKIP   
   jtreg:test/hotspot/jtreg/runtime/ErrorHandling/CreateCoredumpOnCrash.java
                                                         1     1     0     0    
 0   
==============================
TEST SUCCESS


---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - fix copyright typo
 - fix typos in code
 - bump copyright years
 - fix empty space in assertion
 - SharedRuntime::generate_handler_blob() use labels
 - chore: fix empty lines
 - fix: typo in z_common_abi comment
 - jfr leases: use labels
 - generate_deopt_blob(): keep same offset/bind sequence
 - generate_deopt_blob(): use label
 - ... and 11 more: https://git.openjdk.org/jdk/compare/b41070a0...4a83d47f

Changes: https://git.openjdk.org/jdk/pull/33262/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33262&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8387577
  Stats: 55 lines in 6 files changed: 35 ins; 6 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/33262.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33262/head:pull/33262

PR: https://git.openjdk.org/jdk/pull/33262

Reply via email to