finalizeJRE finalizes the JRE configuration (memory calculator, jvmkill, etc.)
()
| 154 | |
| 155 | // finalizeJRE finalizes the JRE configuration (memory calculator, jvmkill, etc.) |
| 156 | func (f *Finalizer) finalizeJRE() error { |
| 157 | f.Log.BeginStep("Finalizing JRE: %s", f.JREName) |
| 158 | |
| 159 | if err := f.JRE.Finalize(); err != nil { |
| 160 | return fmt.Errorf("failed to finalize JRE %s: %w", f.JREName, err) |
| 161 | } |
| 162 | |
| 163 | f.Log.Debug("JRE finalization complete") |
| 164 | return nil |
| 165 | } |
| 166 | |
| 167 | // finalizeFrameworks finalizes framework components (APM agents, etc.) |
| 168 | func (f *Finalizer) finalizeFrameworks(ctx *common.Context) error { |