- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: None
 - 
    Component/s: core-svc
 
- 
        b26
 - 
        generic
 - 
        linux
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8356824 | 21.0.9-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b01 | 
| JDK-8357707 | 17.0.17-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b01 | 
| JDK-8362970 | 11.0.29-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b03 | 
                    While looking at JDK-8341310 I've discovered that the `EventGeneratorLoop` running container always runs for a fixed time: `30` seconds. That's irrespective of the attacher containers being done. Therefore, two iterations of the loop spawning this container running the fixed set of time will at least run `60` seconds. In my test runs using `-summary:time` it was `70` seconds:
```
Passed: containers/docker/TestJcmdWithSideCar.java
build: 2.08 seconds
compile: 2.068 seconds
build: 4.842 seconds
compile: 4.841 seconds
driver: 70.776 seconds
Test results: passed: 1
```
I don't think this is needed. There ought to be a better way to handle this and kill the running container that we've attached to and are done with it. An attempt of this has been done during review ofJDK-8341310, but it caused more problems so was left for a separate issue.
            
```
Passed: containers/docker/TestJcmdWithSideCar.java
build: 2.08 seconds
compile: 2.068 seconds
build: 4.842 seconds
compile: 4.841 seconds
driver: 70.776 seconds
Test results: passed: 1
```
I don't think this is needed. There ought to be a better way to handle this and kill the running container that we've attached to and are done with it. An attempt of this has been done during review of
- backported by
 - 
                    
JDK-8356824 containers/docker/TestJcmdWithSideCar.java takes needlessly long to run
-         
     - Resolved
 
 -         
 - 
                    
JDK-8357707 containers/docker/TestJcmdWithSideCar.java takes needlessly long to run
-         
     - Resolved
 
 -         
 - 
                    
JDK-8362970 containers/docker/TestJcmdWithSideCar.java takes needlessly long to run
-         
     - Resolved
 
 -         
 
- links to
 - 
                    
        
        Commit(master)
        openjdk/jdk/da4b7a8c
    
 - 
                    
        
        Review(master)
        openjdk/jdk/21331