The Implementation for Compact Object Headers requires testing with the experimental feature turned on.
Final testing should be done for PR https://github.com/openjdk/jdk/pull/20677 when it is approved and ready for final testing.
***Test success criteria***
- *There are shouldn't be any regression. (No new failures if UseCompactObjectHeaders is not enable*
- *The bugs for UseCompactObjectHeaders enabled should be filed and triage. No P1/P2 is allowed. This testing might uncover incompatible tests which should be marked/problemlisted.*
## 1 **Test Methodology**
Since the -XX:+UseCompactObjectHeaders affects a lot of functionality it makes sense to run CI with this feature enabled.
1. Execution of whole JDK CI without enabling -XX:+UseCompactObjectHeaders. There are shouldn't be any regression.
2.Testing of JDK CI wiht 'XX:+UseCompactObjectHeaders' enabled.
Execution the vm flag -XX:+UseCompactObjectHeaders is temporary set to 'true' and non experimental.
The whole JDK CI should be executed in this mode and failure analyzed. The bugs should be filed and triage. No P1/P2 is allowed.
This testing might uncover incompatible tests which should be marked/problemlisted.
3. The JCK should pass with -XX:+UseCompactObjectHeaders enabled.
The any failures of product bits are treated as a tck-red and should be fixed before integration.
*Extends "Testing" section of the JEP. This section could go as deep as necessary explaining what kind of testing should be done for the JEP and why.*
## 2 **Test Inventory** *(optional)*
### **Existing Tests**
All tests used for JDK testing.
### **New Tests**
No new tests except unit tests are planned.
### **Deprecated Tests**
None
## 3 **Test Configurations** *(optional)*
The PIT should be executed on all platforms like this testing is executed by CI. It includes execution of jtreg tests and some internal testing with different VM flags on linux-x64,lnux-aarch64,windows-x64,macosx-x64,macosx-aarch64 fastdebug/product binaries.